Inspect a DataFrame
Before diving into detailed analysis, you want to understand the structure and content of the EV dataset.
The electric vehicle dataset you loaded before is still available as a Polars
DataFrame called ev_df
.
This exercise is part of the course
Introduction to Polars
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Print number of rows and columns of ev_df
print(ev_df.____)