📜  正确的函数 pandas - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:59.223000             🧑  作者: Mango

代码示例1
# Convert column in dataframe to first letter Capitalized 
df['name'] = df['name'].str.title() 
# Returns "Bob" instead of "bob"