Data Onboarding – transformer builder

Enable your customers and partners to upload CSV/XLS files and

transform them to match your internal data schemas.

Follow this Open Source project -> GitHub

AmetricX to Database with Pandas

Pandas offers a wide range of functions and methods for data manipulation, making it a powerful tool for handling large datasets. One of the most common tasks in data manipulation is retrieving data from an external source, such as a REST API, and uploading it to a database. This can be done easily with pandas using the read_csv() function, which allows you to read data from a CSV file or a URL.

To retrieve data from AmetricX’s REST API, you will need to have the URL of the API and an API Key. Once you have this information, you can use the read_csv() function to retrieve the data and store it in a pandas DataFrame. From there, you can use pandas’ built-in functions and methods to manipulate the data as needed.

If you did not sign up for AmetricX yet, do so with this link, it is FREE.

AmetricX
1. Obtain an API Key
2. Retrieve a CSV file with Python
3. Define Database connection
4. Append data to existing table
All in one script
AmetricX
AmetricX
1. Obtain an API Key
2. Retrieve a CSV file with Python
3. Define Database connection
4. Append data to existing table
All in one script

For more information read the Generate API Key documentation

Navigate to settings from the top bar

Under API KEYS click on Add Api Key

Click on Add Api Key to create a new key).The actual key will display only once and cannot be retrieved afterward.

Share CSV files for FreeStart Sharing CSV files FREE today

For additional details, read the CSV File Exchange API documentation

We use sqlalchemy to create and “engine” to pass to pandas

For this example, we append the data to an existing table. Please read the pandas.Dataframe.to_sql documentation for additional details

Data Onboarding – transformer builder

Enable your customers and partners to upload CSV/XLS files and

transform them to match your internal data schemas.

Follow this Open Source project -> GitHub

Home » AmetricX to Database with Pandas