Question: How to replace values like [5,2] with text in a dataframe? As an example, if the first value is 0 (meaning [0,2]), then it's something.
How to replace values like [5,2] with text in a dataframe?
As an example, if the first value is 0 (meaning [0,2]), then it's "something". Use regular expressions.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
