Using a Dtype-specific Expression
When your data is displayed on a web page you notice that some entries in the "style" column begin with an uppercase letter and some with a lowercase letter. You want all rows in lowercase for consistency.
Latihan ini adalah bagian dari kursus
Introduction to Polars
Petunjuk latihan
- Update the
"style"column by converting all rows to lowercase.
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
# Ensure all style rows are lowercase
print(ev_df____)