Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a new CSV file with the toxins column #3

Open
4 tasks
mahakanakala opened this issue Dec 8, 2022 · 0 comments
Open
4 tasks

Create a new CSV file with the toxins column #3

mahakanakala opened this issue Dec 8, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@mahakanakala
Copy link
Owner

mahakanakala commented Dec 8, 2022

Using the raw_data.csv, create a new CSV file with the toxins column specifying the low, moderate, high, or non-toxic values.

  • Find the indices of the low, moderate, high, non-toxic
  • Add a new column to the data frame called 'Toxicity'
  • Insert the indices to the corresponding toxicity levels
  • Export the new CSV from the edited dataframe using
df.to_csv('../data/processed/appended_data.csv', index=False)
@mahakanakala mahakanakala added the enhancement New feature or request label Dec 9, 2022
@mahakanakala mahakanakala added this to the Recommendation Machine milestone Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant