Question

Burrito-ful San Diego Tam, Margaret and Winifred are trying to use Data Science to find the best burritos in San Diego! TheirQuestion 6. Using the burritos table, assign menu_average to a table that has three columns that uniquely pairs the name of t

Hi, can you solve Question 7 with code? Thanks.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

#Code for Question 7

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
bin=np.arange(0,15,1) #Use of bin to start from 0 end upto 15 increment by 1 (start,end,step_size)
df = pd.read_csv("burritos.csv", usecols = ['Cost'])#Read csv burritos file and reading Cost column values in df
plt.hist(df, bins=15) #plotting the histogram
plt.title("Distribution of cost of burritos from San Diego")

import numpy as np import pandas as pd import matplotlib.pyplot as plt bin=np.arange(0,15,1) #Use of bin to start from end upIn [51]: import numpy as np ...: import pandas as pd ...: import matplotlib.pyplot as plt ...: bin=np.arange(0,15,1) #Use of

Add a comment
Know the answer?
Add Answer to:
Hi, can you solve Question 7 with code? Thanks. Burrito-ful San Diego Tam, Margaret and Winifred...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT