MulaiMulai sekarang secara gratis

.str.lower() and .str.title()

Oh no! All of our movie titles in the movies DataFrame were inputted as uppercase by some guy at the popcorn stand!

Let's take this as an opportunity to practice using some of our methods for cleaning up case in Python.

Latihan ini adalah bagian dari kursus

Python for Spreadsheet Users

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Change movie_title column to lower case
movies['movie_title'] = ____

# Look at the change
print(movies)
Edit dan Jalankan Kode