Commit dc0564d4 authored by di-nethra's avatar di-nethra

removed test files in backend

parent 22bbda52
import pandas as pd
# Read the CSV file into a Pandas DataFrame
df = pd.read_csv('soil_crop.csv')
# Divide the values in the "nitrogen," "phosphorus," and "potassium" columns by 10
df['nitrogen'] = df['nitrogen'] / 10
df['phosphorus'] = df['phosphorus'] / 10
df['potassium'] = df['potassium'] / 10
# Save the new dataset to a new CSV file
df.to_csv('new_soil_data.csv', index=False)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment