Added data and a way to load and print basic description

This commit is contained in:
Drew Giffin
2025-10-19 11:15:53 -04:00
parent ec7e2e64b3
commit b894a39ba6
3 changed files with 2028 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
.venv
+26
View File
@@ -0,0 +1,26 @@
import pandas as pd
data_path = "student_lifestyle_dataset.csv"
def main():
df = load_data()
inspect_data(df)
def load_data():
df = pd.read_csv(data_path, encoding="ascii", delimiter=",")
return df
def inspect_data(df):
print("Info:")
print(df.info())
print("\n")
print("Head:")
print(df.head())
print("\n")
print("Description:")
print(df.describe(include="all"))
print("\n")
main()
File diff suppressed because it is too large Load Diff