Skip to main content

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
Submitted by devanshi.srivastava on February 9, 2021

Devanshi, is working as a Data Scientist with iVagus. She has expertise in Python, NumPy, Pandas and other data science technologies.

About

At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.