March 9, 2019
Bikeshare Statistics
Provides an interactive environment which calculates statistics from bike share data. The user selects the city from which the data was collected (Chicago, New York City, or Washington) and then determines how the data is filtered based on a series of questions.
bikeshare.py chicago.csv new_york_city.csv washington.csv
referenced for handling input errors https://stackoverflow.com/questions/23294658/asking-the-user-for-input-until-they-give-a-valid-response
referenced for handling date/time data types https://docs.python.org/3.2/library/datetime.html#time-objects https://stackoverflow.com/questions/33566939/timedelta-error-with-numpy-longdouble-dtype https://stackoverflow.com/questions/6557553/get-month-name-from-number https://docs.python.org/2/library/datetime.html https://docs.python.org/2/library/calendar.html
referenced for printing rows of raw data https://stackoverflow.com/questions/43772362/how-to-print-a-specific-row-of-a-pandas-dataframe https://stackoverflow.com/questions/1767513/read-first-n-lines-of-a-file-in-python
referenced for how to reindex a dataframe https://stackoverflow.com/questions/20490274/how-to-reset-index-in-a-pandas-data-frame https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.reindex.html