Skip to content

Commit

Permalink
clean up repo
Browse files Browse the repository at this point in the history
  • Loading branch information
h4x0rMadness committed Dec 14, 2020
1 parent bda0720 commit 0616677
Show file tree
Hide file tree
Showing 72 changed files with 72,136 additions and 482 deletions.
48 changes: 0 additions & 48 deletions covid_food_business_team1/Deliverable_1.md

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import pandas as pd

def filter(keyword, value, filepath, output_name):
df = pd.read_csv(filepath)

filtered = pd.DataFrame()

df = df.dropna()
for i in range(df.shape[0]):
if value in df.loc[i][keyword]:
filtered = filtered.append(df.loc[i])

filtered.to_csv(output_name)

filter('Neighborhood', 'Boston', 'Reopen-Boston-Fund.csv', 'filtered_Reopen.csv')
import pandas as pd

def filter(keyword, value, filepath, output_name):
df = pd.read_csv(filepath)

filtered = pd.DataFrame()

df = df.dropna()
for i in range(df.shape[0]):
if value in df.loc[i][keyword]:
filtered = filtered.append(df.loc[i])

filtered.to_csv(output_name)

filter('Neighborhood', 'Boston', 'Reopen-Boston-Fund.csv', 'filtered_Reopen.csv')
#filter('Neighborhood', 'Boston', 'Small-Business-Relief-Fund.csv', 'filtered_Small.csv')
File renamed without changes.

Large diffs are not rendered by default.

Loading

0 comments on commit 0616677

Please sign in to comment.