“Capitalise.texts” Kode Jawaban

Capitalise.texts

df.Column1 = df.Column1.str.title()
print(df.Column1)
0    The Apple
1     The Pear
2    Green Tea
Name: Column1, dtype: object
Horrible Hoopoe

Capitalise.texts

df.Column1 = df.Column1.str.title()
print(df.Column1)
0    The Apple
1     The Pear
2    Green Tea
Name: Column1, dtype: object
Horrible Hoopoe

Capitalise.texts

df.Column1 = df.Column1.str.title()
print(df.Column1)
0    The Apple
1     The Pear
2    Green Tea
Name: Column1, dtype: object
Horrible Hoopoe

Capitalise.texts

df.Column1 = df.Column1.str.title()
print(df.Column1)
0    The Apple
1     The Pear
2    Green Tea
Name: Column1, dtype: object
Horrible Hoopoe

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya