PIbd-42_SSPR/db/csv_to_db.py

11 lines
202 B
Python

import pandas as pd
df = pd.read_csv('./files/recycling_parameters.csv')
headers = df.columns.tolist()
print(headers)
for header in headers:
column_type = df[header].dtype
print(column_type)