Creating a Series from a DataFrame
Your marketing team needs a visualization showing which manufacturers are most represented in the current EV market. To create this visualization, you first need to extract just the "brand"
from your dataset.
This exercise is part of the course
Introduction to Polars
Exercise instructions
- Create a Series from the
"brand"
column ofev_df
.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Create a Series from the brand column
print(ev_df____)