Oct-29-2019, 04:42 PM
(Oct-29-2019, 04:11 PM)zhujp98 Wrote: I want to change one of columns to lower case.
Hi again!
Then maybe you could use something like:
df['AGE'].str.lower()and if it is for all the columns, you could use something like:
data.columns = [x.lower() for x in data.columns]I have based my answer on these:
https://stackoverflow.com/questions/2224...ing-values
https://stackoverflow.com/questions/1972...-lowercase
All the best,
newbieAuggie2019
"That's been one of my mantras - focus and simplicity. Simple can be harder than complex: You have to work hard to get your thinking clean to make it simple. But it's worth it in the end because once you get there, you can move mountains."
Steve Jobs
"That's been one of my mantras - focus and simplicity. Simple can be harder than complex: You have to work hard to get your thinking clean to make it simple. But it's worth it in the end because once you get there, you can move mountains."
Steve Jobs