Tag: python

  • pyenv – Simple tool to manage multiple python versions

    With Python 3.11 out, developers must be looking to try this newer version but might be reluctant as they don’t want to mess up their development environment. The best way to install multiple versions of python is by using pyenv. It is a simple python version management tool, which helps you in avoiding conflicts between […]

  • Selection in Pandas – iloc, loc Explained

    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 […]

  • Scraping FIFA Men’s Ranking data using python

    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 […]

  • Introduction to Python Dictionary

    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 […]

  • Introduction to SQLite using Python

    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.

  • SQL Query in Python – SELECT

    I had been using SQL extensively to work on the tabular data format. So, when I started learning python, it was essential for me to write SQL query in python. Knowing this, really helped me in using python extensively for data exploration process. I hope that people who are learning python for data analysis and […]

  • How to install Xgboost on Windows using Anaconda

    Xgboost is one of the most effective algorithms for machine learning competitions these days. The only problem in using this in Python, there is no pip builder available for this. So when I tried using pip builder I got this error. Its installation on windows is not straightforward and might seem daunting at first. Also, […]

  • Using Pandas to change Python display options

    Pandas provides a very easy way to customize your Python display options. Even though it is not essential for data analysis, but it makes data exploration easy and gives you some more flexibility. Most useful available parameters are:- display.max_rows :- This deals with the number of rows that can be displayed. If no. of rows exceeds […]