Skip to content

Latest commit

 

History

History
25 lines (11 loc) · 856 Bytes

File metadata and controls

25 lines (11 loc) · 856 Bytes

Information

image

pip install -r requirements.txt

Steps

write_csv_to_postgres.py-> gets a csv file from a URL. Saves it into the local working directory as churn_modelling.csv. After reading the csv file, it writes it to a local PostgreSQL table

create_df_and_modify.py -> reads the same Postgres table and creates a pandas dataframe out of it, modifies it. Then, creates 3 separate dataframes.

write_df_to_postgres.py -> writes these 3 dataframes to 3 separate tables located in Postgres server.

PostgreSQL

I am using a local Postgres Server and installed PgAdmin to control the tables instead of using psql.