Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

proper function pandas

# Convert column in dataframe to first letter Capitalized 
df['name'] = df['name'].str.title() 
# Returns "Bob" instead of "bob"
 
PREVIOUS NEXT
Tagged: #proper #function #pandas
ADD COMMENT
Topic
Name
2+9 =