ODM2 / ODM2DataSharingPortal

A Python-Django web application enabling users to upload, share, and display data from their environmental monitoring sites via the app's ODM2 database. Data can either be automatically streamed from Internet of Things (IoT) devices, manually uploaded via CSV files, or manually entered into forms.
BSD 3-Clause "New" or "Revised" License
31 stars 8 forks source link

CSV API Endpoint #651

Closed ptomasula closed 1 year ago

ptomasula commented 1 year ago

Related Issues

650

312

Summary of Changes

Refactors api/csv-values endpoint to use pandas and take advantage of vectorized data formatting, resulting in an approximately 25% decrease in the endpoint processing time.

Testing

The testing for this branch was conducted manually. With the focus being on improving performance of the csv download feature, cprofile was utilized to assess performance for all code used by the endpoint.