Data Analysis Using Pandas
2 min readApr 12, 2020
PANDAS
- Panda is a python library that is used for data analysis. We can analyze data in pandas with series and data frames.
- Pandas is a tool that provides a more streamlined way of working with numerical and tabular data in Python.
- Pandas is useful to increase their effectiveness at data analysis without getting lost in the syntax.
SERIES
- Series is a one-dimensional array defined in pandas that can be used to store any data type.
- Data can be in scalar value in this integer, string or Ndarray format.
- Index by default start from 0, 1, 2, …(n-1) where n is the length of data.
EXAMPLE: Creating an index with the default index value
Creating an index with a predefined index value
Program to create ndarray Series
DATA FRAMES
- Dataframes is a two-dimensional data structure defined in pandas that consists of rows and columns.
- In the Data-frames data can be in one or more dictionaries or one or more Series.
EXAMPLE: Program to create data frames with two dictionaries
If you are new to Data Science start with the following must-watch video:-