06.07 1:48 PM
INTRODUCTION TO PANDAS (SERIES,DATAFRAME,PANEL) - PYTHON PROGRAM
How do we create a series?
To create a series, we first create a list and pass it to the series() function,
and we can specify index values or let the function assign default index values.
How do we create a data frame?
To create a data frame, we pass a dictionary with naming attributes to the data
frame() function.
Can we work on data columns individually after creating a data frame?
Yes, we can access and work on data columns individually after creating a data
frame.
INTRODUCTION TO PANDAS (SERIES,DATAFRAME,PANEL) - PYTHON PROGRAM
How do we create a series?
To create a series, we first create a list and pass it to the series() function,
and we can specify index values or let the function assign default index values.
How do we create a data frame?
To create a data frame, we pass a dictionary with naming attributes to the data
frame() function.
Can we work on data columns individually after creating a data frame?
Yes, we can access and work on data columns individually after creating a data
frame.