View Post

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 …

View Post

12 examples on Python Regular Expression

  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 …

View Post

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 …

View Post

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.

View Post

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 …

View Post

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 …