Easiest guideline to append, merge, join & concatenate…!

Photo by Ashkan Forouzani on Unsplash

I don't know about you but when it comes to joining or merging pandas dataframes I used to feel a little nervous. But if you want to be a data scientist, playing with dataframes will be a your day to day job. And an important role will be played by functions which are used to do this merging activity — append, concat, join and merge. I will try to describe the different approaches using these functions with examples in this article. I will use datasets from this Udemy course that I took…

Pandas basics that will always help you!

Photo by Michael Payne on Unsplash

Python is one of the most popular scripting languages in Data Science. The syntax is simple and elegant, and Python provides fantastic libraries for scientific computation. One of the most important libraries for doing Data Science in Python is Pandas. This blog post is about three useful techniques that I have encountered while dealing with data analysis in Pandas.

1. Subset Selection

‘Subset selection’ might sound gruesome, but it is simply selecting particular data that is some rows and columns in a DataFrame. We can use these three methods to do this indexing:

  1. DataFrame[ ]

The first library you learn in python!

Python has been a very dear friend to most of the data scientists and there’s some good reasons for that. One of the main benefits is Python’s extensive set of libraries, a collection of routines and functions that help data scientists perform complex tasks quite effortlessly. NumPy is one of the most useful libraries in Python.One can perform various mathematical operations(i.e., trigonometric, statistical, Fourier Transformations, algebraic etc.) using NumPy. It is an open source numerical Python library. The library contains a large number of mathematical, algebraic transformation functions, universal functions and random number…

Photo by Benjamin Smith on Unsplash

As a Physics graduate I needed to learn some mathematics and statistics too. Surprisingly enough, when I started learning algorithms for data science, I saw many of those topics are used behind these sophisticated algorithms. The very first task I had in my Physics lab was to find out the best fitted relationship between two variables. Which is actually Linear Regression. In this article, I am going to talk about regression .

There are many kinds of regression techniques in data science, an article won’t be enough to discuss and cover all the aspects of them. I will discuss about…

Photo by Brooke Lark on Unsplash

Sometimes dealing with data containing date and time can be tedious job to do, thankfully there is this built in way to help us with the work. Python provides a datetime module that enables us to manipulate date and time in many ways.

We need to look at five main object classes in this module, which we will eventually need depending on the work we want to do. After that, we will discuss some examples explaining the tasks of the classes. The classes are as follows -

  1. datetime.date : It allows us to manipulate date without interfering time (month, day…

Munia Humaira

Bewildering in the field of Optics, Photonics and Data ! But thinking about life mostly.

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