A virtual environment is an isolated copy of your environment that maintains its own version of the language, packages, and versions. It can help in avoiding version conflicts and dependency issues among projects. Anaconda provides a convenient way to manage packages and different environments needed for data science projects. It also helps in creating and … Read more Managing virtual environment in Anaconda
Data exploration and manipulation is the basic building block for data science. We cannot do this without making selections in our table. At first, it was very confusing and took some time for me to get hang of making selections in Pandas DataFrame. Pandas provided different options for selecting rows and columns in a DataFrame … Read more Selection in Pandas – iloc, loc Explained
This post discusses some of the shortcut keys and magic functions available in the Jupyter Lab. These provides some extra functionality and make our working easier. These magic functions also provide some IDE type functionality to the Jupyter Lab.
When the world cup started, I got curious about teams and their FIFA World Ranking. I also wanted to see how the ranks of different countries have been throughout the history. This ranking was introduced in December 1992 and a point based system is used for this. Points are awarded based on the results of international … Read more Scraping FIFA Men’s Ranking data using python
Jupyter lab is an interactive development environment and the way forward for people using Jupyter notebook. It has become one of the most preferred ways to code in data science field and academia. Notebook cell-based structure was very convenient for doing data exploration, model building etc. but it was lagging in creating and running scripts or … Read more Installing and Configuring Jupyter Lab on Windows as a Desktop Application
In the last post (Beginner’s Guide to Python Regular Expression), we learnt about python regular expression. If you don’t know the basic syntax and structure of it, then it will be better to read the mentioned post. If you know, then let’s practice some of the concept mentioned. We will work out some examples … Read more 12 examples on Python Regular Expression
Python regular expression is one of the most difficult concepts for the beginners to wrap their heads around. It needs some practice to master it and can be very confusing in the beginning. But once mastered, it is a very handy toolto have and can be used in a lot of different cases: – … Read more Beginners’ Guide to Python Regular Expression
Python has a unique data type known as dictionary or python dictionary. It provides a very easy and flexible way to store and organize values. In essence, it is like a list as it can also store multiple values. There are two major difference between list and python dictionary and they are:- Indexes – List … Read more Introduction to Python Dictionary
Introductory tutorial of SQLite using Python.SQLite is a zero-configuration SQL database engine and can also be considered as a file-based database. It is a very small and lightweight database which has no external dependencies. It can be a very useful tool for data analysis process as you can create RDBMS structure from within your code and then run queries on the whole table in an efficient manner, without any need of server installation or configuration. We will explore SQLite basics in this tutorial. Python has an in-built sqlite3 module, which can be used to work with SQLite database.