Lec3 PandasDataframes 2
Lec3 PandasDataframes 2
Part II
Pandas Dataframes - Recap
In the previous lecture, we have seen about
Introduction to pandas
Importing data into Spyder
Creating copy of original data
Attributes of data
Indexing and selecting data
◦ ‘64’ simply refers to the memory allocated to store data in each cell which
effectively relates to how many digits it can store in each “cell”
◦ 64 bits is equivalent to 8 bytes
◦ Allocating space ahead of time allows computers to optimize storage and
processing efficiency
Syntax: DataFrame.get_dtype_counts()
Syntax: DataFrame.select_dtypes(include=None,
exclude=None)
memory usage
Syntax: DataFrame.info()
Variable ‘Doors’ :