Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python pandas change column values to all caps

# Creating 'columnB' that has Uppercase versions of all of columnA's values
df['columnB'] = df['columnA'].str.upper() 
Source by cmdlinetips.com #
 
PREVIOUS NEXT
Tagged: #python #pandas #change #column #values #caps
ADD COMMENT
Topic
Name
2+6 =