Scott Cole
21 May 2016
This notebook will determine the best and worst burritos across the different dimensions, such as:
In [1]:
%config InlineBackend.figure_format = 'retina'
%matplotlib inline
import numpy as np
import scipy as sp
import matplotlib.pyplot as plt
import pandas as pd
import seaborn as sns
sns.set_style("white")
In [2]:
filename="burrito_current.csv"
df = pd.read_csv(filename)
N = df.shape[0]
In [10]:
m_best = ['Volume','Cost','Tortilla','Temp','Meat','Fillings','Meat:filling',
'Uniformity','Salsa','Synergy','Wrap','overall','Google','Yelp']
for m in m_best:
print m
print 'High,', df.Location[df[m].idxmax()], df[m][df[m].idxmax()]
print 'Low,', df.Location[df[m].idxmin()], df[m][df[m].idxmin()]