regexp-replace

Remove trailing .0 from strings of entire DataFrame

Remove trailing .0 from strings of entire DataFrame Question: Hi I would like to remove all ".0" at the end of a string for an entire DataFrame and I need it to be an exact match. Let’s make an example df: a b c 20 39.0 17-50 34.0 .016.0 001-6784532 The desired output: a b …

Total answers: 3