This lesson requires a premium membership to access.
Premium membership includes unlimited access to all courses, quizzes, downloadable resources, and future content updates.
Appropriate data types are crucial for efficient memory usage and compatibility with analysis tools. Let’s first check the data types of each column in our loans data frame. To check the data types of each field in a pandas DataFrame in Python, you can use the .dtypes attribute. This attribute returns a Series with the data type of each column.