Summary
In this chapter, you learned about the fundamentals of pandas data types and how to control them. After going through the range of data types in pandas, you learned how to inspect the underlying dtype of your data and how to convert it from one type into another. You also saw how converting your initial data into the appropriate dtypes can greatly reduce the memory usage of a DataFrame. Next, you learned about missing data, from how it's represented to its impact on dtypes. Then, you delved deeper into nullable and non-nullable dtypes and learned about the methods, functions, and operations that are specific to certain dtypes.
In the next chapter, you will learn about the different methods you can use to select data with pandas, be it with a DataFrame or a Series.
Method |
Description |
Example |
|
This is used... |