Posts

Showing posts with the label pandas in python

Introduction to Series and DataFrames in Python Pandas| Data science full course free

Image
  In the  Introduction to Pandas  post, we learned about Pandas. In today's post we will learn Data Structures in Python Pandas. So, without consuming much time, let's jump to the introduction:- Data Structures in Pandas Python Pandas deals with 2 Data structures:- Series DataFrame Before the latest updates, Python had   3. Panel()   data structure which is used for the 3-D array. But Pandas has removed its   Panel()  and now it only has Series and DataFrame left. These data structures are built with NumPy which means they are fast. Dimension and Description of Data Structure The best way to think of these data structures is that the higher dimensional data structures is a container of its lower-dimensional data structure which means DataFrame is a container for   Series . Building and handling two or more dimensional array is tedious task, burden is placed on the user to consider the orientation of the Data Sets when writing functions. Mutability of the Data Structures 1. Valu