Finish a code in python -- 2

Job ID: 32165051

Budget: $10 – $30 USD

These are these two functions that I would need your help to find what is requested in practical work:

With the results (parquet files) of TP 1 (code tp1sistemas11.11), generate OLAP-style datasets to answer the questions:

- Speed ​​per day of each line (to be able to see differences between days and between lines)
- Internal faster / slower of each line.

* The idea is to calculate the distance traveled within each lot. For this, the oldest and most recent point of the lot can be taken for each inmate and the distance and time elapsed can be calculated.
* Attached transform.py file with the functions to complete to find what the command indicates.
* Statement in pdf TP2
* File of the tp1sistema11.11py of the TP1, where we communicate with the API and generate the parquet files.
* Parquet file generated from tp1 - example1411.parquet.
* Attached PDF of the TP1 statement so that you can see what was advanced in the first part.


I remain attentive.
Thanks.

Gabriela.
Related categories: Python Data Science Data Scraping