How come when i want to replace a value I have to use this block of code:
data['Organization'].str.replace('Greece','Rome')
why cant I use this:
data['Organization'].replace('Greece','Rome').
I've seen others use method two before without passing a string method. My question is can i pass a series method using replace function and what is the line of code?