You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
576 B

import pandas as pd
# from sqlalchemy import create_engine, text, exc
df = pd.read_csv('dataset.csv').drop_duplicates().copy()
print("Affichage des données du fichier : dataset.csv \n\n", df)
dfQuote = df[['quote']].drop_duplicates().copy()
dfSupport = df[['support']].drop_duplicates().copy()
dfType = df[['type']].drop_duplicates().copy()
'''
engine = create_engine("postgresql://tonguyen@:5432/dbWF")
try:
co = engine.connect()
print("Connexion à la base de données : dbWF\n")
print("Veuillez patienter lors de l'insertion des données\n")
'''