Timeline for How to replace text in a string column of a Pandas dataframe?
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 19, 2021 at 0:27 | comment | added | charles |
Thanks! Also you need to do some conversion in parameter of lambda function, like all x to string using str(x)
|
|
| Feb 9, 2021 at 19:05 | comment | added | Chris | This is what I ended up doing to replace, but I get the "A value is trying to be set on a copy of a slice from a DataFrame." warning. The resulting dataframe is exactly what I want, but the warning is off-putting. Rather than just turning the warning off, I'm in search of a non-warning-inducing way. | |
| Nov 3, 2020 at 16:56 | review | Late answers | |||
| Nov 3, 2020 at 17:18 | |||||
| Nov 3, 2020 at 16:42 | review | First posts | |||
| Nov 3, 2020 at 18:17 | |||||
| Nov 3, 2020 at 16:40 | history | answered | Nancy K | CC BY-SA 4.0 |