Spaces:
Sleeping
Sleeping
Commit ·
526349e
1
Parent(s): afeba3f
Update untappd_app.py
Browse files- untappd_app.py +8 -8
untappd_app.py
CHANGED
|
@@ -18,16 +18,16 @@ from datasets import Dataset, load_dataset
|
|
| 18 |
|
| 19 |
#Load DFs
|
| 20 |
|
| 21 |
-
#
|
| 22 |
-
|
| 23 |
|
| 24 |
-
#
|
| 25 |
-
|
| 26 |
|
| 27 |
-
#
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
|
| 32 |
|
| 33 |
#Open individual Brewery list
|
|
|
|
| 18 |
|
| 19 |
#Load DFs
|
| 20 |
|
| 21 |
+
#Set up DF for filtered beers
|
| 22 |
+
bb_df = pd.read_csv('beer_brewery_imputed.csv')
|
| 23 |
|
| 24 |
+
#Set up DF for percentiles (currently only includes beers with 500 or more reviews)
|
| 25 |
+
bb_df_percentile = pd.read_csv('bb_df_testing.csv')
|
| 26 |
|
| 27 |
+
#Set up DF for Aslin Examples
|
| 28 |
+
aslin_example_df_full = pd.read_csv('App_Example_Aslin.csv')
|
| 29 |
+
aslin_example_df = aslin_example_df_full.drop(['Brewery', 'Number of Ratings Beer'], axis=1)
|
| 30 |
+
aslin_example_df['ABV'] = aslin_example_df['ABV']*100
|
| 31 |
|
| 32 |
|
| 33 |
#Open individual Brewery list
|