Fixes
This commit is contained in:
parent
9de9183319
commit
c12bdca011
10
main.py
10
main.py
@ -2,6 +2,16 @@ import csv
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
from sklearn.model_selection import train_test_split
|
from sklearn.model_selection import train_test_split
|
||||||
|
import kaggle
|
||||||
|
import os
|
||||||
|
|
||||||
|
kaggle.api.authenticate()
|
||||||
|
|
||||||
|
c_directory = os.getcwd()
|
||||||
|
|
||||||
|
kaggle.api.dataset_download_files('kamilpytlak/personal-key-indicators-of-heart-disease', path=f"{c_directory}", unzip=True)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
dataset = pd.read_csv("heart_2020_cleaned.csv")
|
dataset = pd.read_csv("heart_2020_cleaned.csv")
|
||||||
print(dataset.describe(include='all'))
|
print(dataset.describe(include='all'))
|
||||||
|
Loading…
Reference in New Issue
Block a user