EssayGhost Assignment代写,Essay代写,网课代修,Quiz代考

EssayGhost-Essay代写,作业代写,网课代修代上,cs代写代考

一站式网课代修,论文代写

高质量的Assignment代写、Paper代写、Report代写服务

EG1hao
网课代修代上,cs代写代考
Python代写
您的位置: 主页 > 编程案例 > Python代写 >
代做Python:programming1代写 Homework代写 Starbucks Store Finder代写 - Python代做
发布时间:2021-07-25 22:05:04浏览次数:
Bentley University CS 230Python programming1代写 This program combines many topics we covered this semester as you create a store finder app for Starbucks locations.Introduction to Programming with PythonHomework 7 – Starbucks Store FinderDescription Python programming1代写This program combines many topics we covered this semester as you create a store finder app for Starbucks locations.The program will implement a menu of options:Find Stores by City andStateFind Stores within Distance ofCityFind Stores within Distance of ZipCodeAfter selecting options 1, 2, or 3, ask the user to enter the desired information, and then ask whether to display all stores in the specified location area, or only those with drive through windows. If the user requests only drive through stores, display only those, otherwise display all of them.Python programming1代写Your program will print information about stores in the specified location, and then show them visually on a map. Show stores with and without drive throughs using different colored map markers.Python programming1代写Data Python programming1代写Use the list of Starbucks stores in the United States (from 2013) available from the Open Data site at socrata.com: https://opendata.socrata.com/Business/All-Starbucks-Locations-in-the-US/txu4-fsic Download and save it as CSV. Use a symbolic constant in your program to store the name of the file:STARBUCKS_FILE = All_Starbucks_Locations_in_the_US.csv Do not change the name of the file! You do not have to upload the data file when you submit your completed program. Submit only the Store Finder program.ModulesInstall these modules so that your Python environment has access to them:pandas (data analysistools)Python programming1代写geopy (geographytools)folium (mappingtools)uszipcode (zip codetools)ClassesCreate a class called Store which contains at least a store s ID, name, street address, city, state, zip, latitude, longitude, drive-thru (from the Features – Stations column, which has the value Drive-Through if the store has a drive through window), and distance (to be calculated, the store’sdistance from the user’s home location). Store a distance only if doing a distanceCreatea constructor (initializer) and a string method for this  Use a default value of -1 if no distance value is available. The string method should return a string that neatly displays each attribute of the class. (Display the distance, formatted to two decimal places, when it is calculated. Only include the distance for a distance search (by city/state or zip code).Python programming1代写You don t need to write any accessor or mutator methods for thisFunctionsWritea function getData() which reads the Starbucks data csv file into a pandas  You can filter the DataFrame to contain only the columns we will be working with in this program. The method returns a DataFrame. You might use a symbolic constant to store that list (as a tuple):FILTERS = ( Number , Name , Street Address , City , State , Zip , Latitude , Longitude , Features Stations )Python programming1代写Doing so will help you iterate through the columns of the Data Frame elsewhere in your program.Write a function displayStores(dfStores) to display information for the stores contained in the Data Frame dfStores, passed in as a parameter. The function should create a Store object from each store in the data frame and use its string method to print it. (Or create a list of Stores and print the)Write a function displayMap(dfStores) which plots store information from a DataFrame dfStores on a map.Center the map at the average of the latitude and longitude coordinates. Use an appropriate method of the DataFrame class to calculate the average, don t write your own average function. Use the folium module to create and display the map. Be sure each location has a title. Save the map info to an HTML file named html and launch a browser to display themap.Python programming1代写

所有的编程代写范围:essayghost为美国、加拿大、英国、澳洲的留学生提供C语言代写、代写C语言、C语言代做、代做C语言、数据库代写、代写数据库、数据库代做、代做数据库、Web作业代写、代写Web作业、Web作业代做、代做Web作业、Java代写、代写Java、Java代做、代做Java、Python代写、代写Python、Python代做、代做Python、C/C++代写、代写C/C++、C/C++代做、代做C/C++、数据结构代写、代写数据结构、数据结构代做、代做数据结构等留学生编程作业代写服务。