Python Day 53 – Pandas array operators

Update from yesterday’s problem: to take the mean one simply needs to call which column first, for instance data[‘column_name’].mean(). Today…

I learned:

How to use basic string operators in arrays with pandas. I learned that one just needs to specify a column, and the add the .str attribute to whatever operation they want to do.

Aside from the basic operations I already knew, I learned the .title (capitalizes each individual word) and .get (get’s values with a specific index).

Leave a Reply

Discover more from

Subscribe now to keep reading and get access to the full archive.

Continue reading