-
Notifications
You must be signed in to change notification settings - Fork 0
Home
It is a python library that is used for working with datasets. Pandas has functions for analyzing, cleaning, exploring and manipulating data.
It allows us to analyze big data and make conclusions based on statistical theories.
The source code for Pandas is located at this github repository https://github.com/pandas-dev/pandas
First we import pandas in code through: (import pandas as pd) then we create dictionary of our needed dataset, after this we convert the dictionary into pandas "DataFrame". A DataFrame is essentially a table with rows and columns, where:
--> Each key in the dictionary becomes a column header.
--> Each list becomes the values under the respective columns.
Finally we print our dataframe for output using "print" function.
What is a Series?
A Pandas Series is like a column in a table. It is a one-dimensional array holding data of any type. Syntax : "pd.series()"