+ 2
CSV file related?
How to replace values which are greater than 30 into 0 of a CSV file??
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.
How to replace values which are greater than 30 into 0 of a CSV file??