Chapter 4: Pandas Data Types
In this chapter, you will learn about the different pandas data types and how to convert them from one type into another. By the end of this chapter, you will know how to inspect the pandas data types of DataFrames, and how to manipulate them for your analysis.
In this chapter, we will cover the following topics:
- Introducing pandas dtypes
- Missing data types
- Subsetting by data types
Introducing pandas dtypes
When working with pandas, it is vital to make sure that you assign the correct data types to the values you're working with. Otherwise, you may end up getting unexpected results or errors when running certain operations or calculating aggregations. Having a good understanding of every data type in pandas will ...
Get The Pandas Workshop now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.