Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.16 KB

README.md

File metadata and controls

24 lines (17 loc) · 1.16 KB

Python-Pandas-DataLib

Testing and experimenting with some simple Pandas functionality using Flask to serve the parsed data.
This repo uses Pandas to parse a .csv file containing Number Station information and offers endpoints to retrieve the data in the form of JSON responses through Flask.

Routes

/ - List all stations
/station_names - List all stations under the column Name
/is_active_station - Check for active stations
/is_inactive_station - Check for inactive stations
/filter_station_names/{name} - Filter by station names
/filter_station_nickname/{nickname} - Filter by station nicknames
/filter_by_id/{id} - Filter by station id's
/filter_by_location/{loc} - Filter by station locations


Terminal

In addition to routes, Tabular is used to output table data with Column names as keys to view the associated DataFrames, such as below:

Imgur