1
I’m doing my first analysis with Pandas in Python 3. I’m practicing with a game of Thrones dataset that contains the deaths in the books.
One of the columns of the dataframe refers to the house and in this column there are repeated values of type: Stark / House Stark.
I would like to know how to remove the word "home" from that column.
Can someone please help me ?
To do this can also be used list comprehensions, something like arrayCorrigido = [[element[0],element[1],element[2]. replace("Home ","")] for element in array]
– Robson França