Posts by Daniel Micoski • 1 point
1 post
-
0
votes3
answers1073
viewsA: How to change CSV in Python and Pandas?
You can use the function np.where() for that reason. Supposing you have a spine idade within a pandas Dataframe by name df: import numpy as np df['faixa_etaria'] =…