Python Pandas Data Structures

Pandas is the most popular Python library that is used for data analysis. It offers a tool for cleaning and processes your data. It is an open-source library.
Pandas, supports two data structures:

Series:

It is 1=D labeled array which is capable of holding any data types  that include integers, strings, float, python object etc. It is homogeneous. It's size is immutable.

DataFrame:

It us a 2-D tabular data structure whose size is mutable. It is heterogeneous in nature. It is a 2-D data structure which is aligned in a tabular from like spreadsheet or SQL table or dict of series object. Pandas DataFrame consists of three principal components, the data, rows, and columns. It is generally the most commonly used pandas object. Like Series, DataFrame also accept many different kinds of input.

Tags