Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created November 9, 2020 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/c1b9160781b893ca1ed236b34c6cfa9b to your computer and use it in GitHub Desktop.
Save amankharwal/c1b9160781b893ca1ed236b34c6cfa9b to your computer and use it in GitHub Desktop.
import numpy as np # linear algebra
import pandas as pd # data processing
import matplotlib.pyplot as plt
food_data=pd.read_csv("FoodFacts.csv",low_memory=False)
#Searching for manufacturers which use plastic stuffs for packing food
df=food_data[['manufacturing_places','packaging_tags']][(food_data['packaging_tags']=='plastique')|(food_data['packaging_tags']=='plastic')]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment