Fungsi yang tepat panda
# Convert column in dataframe to first letter Capitalized
df['name'] = df['name'].str.title()
# Returns "Bob" instead of "bob"
Trained Tuna
# Convert column in dataframe to first letter Capitalized
df['name'] = df['name'].str.title()
# Returns "Bob" instead of "bob"