In this blog, I have shared, how to handle missing values in Pandas.

1. What it missing value? Why it is occurs?

The concept of missing values is important to understand in order to successfully manage data. If the missing values are not handled properly, then we may end up drawing an inaccurate inference about the data. Due to improper handling, the result obtained will differ from ones where the missing values are present.

Missing data, or missing values, occur when no data value is stored for the variable in an observation.

2. Reason for missing data

By default the python operators (+, -, *, /, **) operate element-wise (except matrix multiplication). To work element-wise it is important that the shapes match. At this position broadcasting is important. It mean, when the shapes do not match, numpy try to match them with broadcasting.

In this blog, I have shared the concept of array broadcasting and how to implement it in NumPy.

Limitation with Array Arithmetic

We can perform arithmetic directly on NumPy arrays, such as addition and subtraction.

For example, two arrays can be added together to create a new array where the values at each index are added together.


In this article, I have shared how to manipulate time in Python.

A Python program can handle date & time in several ways. Converting between date formats is a common chore for computers. Python’s time and calendar modules help track dates and times.

1. What is Tick?

Time intervals are floating -point numbers in units of seconds. Particular instants in time are expressed in seconds since 12:00 AM, January 1, 1970(epoch).

2. What is Epoch?

The Epoch is the point in time in Python from which time is measured. It is labelled 12:00 AM, Jan 1, 2021. It is the beginning of an era.

3. What is Daylight Savings Time (DST)?

In Agrarian culture, they…

Mongodb is a document-oriented NoSQL database used for high volume data storage. In this blog I have shared how to create database connection with MongoDB using python.

One can download a free MongoDB database at

What is NoSQL?

NoSQL is not a relational database. It provides more flexibility since all records are not restricted by the same column names and types defined across the entire table.

What is MongoDB ?

When it comes to storing, reading, or communicating data, working with the files of an operating system is both necessary and easy with Python. Unlike other languages where file input and output requires complex reading and writing objects, Python simplifies the process only needing commands to open, read/write and close the file. This topic explains how Python can interface with files on the operating system.


  • filename — the path to our file or, if the file is in the working directory, the filename of our file
  • access_mode — a string value that determines how the file is opened
  • buffering…

In this blog, I have shared some important facts of Python in the form of question and answer.

1. Is Python interpreted or compiled? Are there ways to compile the code?

First we understand the difference between Interpreted vs Compiled Programming Languages:

What’s the Difference? … In a compiled language, the target machine directly translates the program. In an interpreted language, the source code is not directly translated by the target machine. Instead, a different program, aka the interpreter, reads and executes the code.

Python is called an interpreted language. Python doesn’t convert its code into machine code, something that hardware can understand. It actually converts it into something called byte code. So…


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store