Author: Andrés Armesto
This Python package provides a simple tool to convert CSV data into a structured JSON format, suitable for representing average ticket data for different markets.
To execute the sample test, follow these steps:
-
Clone this repository:
git clone https://github.com/andres-ab/tech-assessment-de-inno-it.git
-
Navigate to the
csv-to-json
directory:cd csv-to-json
-
Install the required packages using the provided requirements.txt file:
python3 -m pip install -r requirements.txt
-
Run the sample test:
python3 main.py ../data/raw/MarketAvrgTicketSample.csv ../data/clean/MarketAvrgTicketSample_output_example.json
This command will convert the provided CSV file (MarketAvrgTicketSample.csv
) to JSON and save the result in the specified output file (MarketAvrgTicketSample_output_example.json
).
- Python 3.11
- Dependencies listed in
requirements.txt
Feel free to use the docker-compose YAML to access notebooks. Run docker compose up
and then browse to http://localhost:8888/lab
.