I'm new using dataframes and I don't know how to do this.
I have this dataframe (sample):
Type Count
0 http://dbpedia.org/resource/Album 21
1 http://es.dbpedia.org/resource/Book 4
2 http://es.dbpedia.org/resource/Person 7
3 http://es.dbpedia.org/resource/Film 4
I want to replace ALL the values of Type
column, result will be like this (sample):
Type Count
0 Album 21
1 Book 4
2 Person 7
3 Film 4
Hope you can help me with this. Thanks in advance.