+ 2

CSV file related?

How to replace values which are greater than 30 into 0 of a CSV file??

16th Sep 2021, 6:09 AM
Sourya Banerjee
Sourya Banerjee - avatar
1 Answer
0
Use the pandas (pd) module. Import the data with pd's read_csv. Replace the values. Save with pd's to_csv.
16th Sep 2021, 6:27 AM
Simon Sauter
Simon Sauter - avatar