Merge pull request 'data_treatment' (#1) from data_treatment into master

Reviewed-on: #1
pull/20/head
Aurian JAULT 6 months ago
commit 16dbffe49f

@ -0,0 +1,7 @@
#!/usr/bin/env python3
import sys
sys.path.append('./src/back/')
import load_csv as l
l.csv_value()

@ -0,0 +1,20 @@
import pandas as pd
def csv_value():
df = pd.read_csv('./data.csv')
# print(df.head())
#print all detail
# df.info()
# Print number of missing value for each column
# print(df.isna().sum())
# Useless values
# Off-Road Description -> 156170
# Municipality -> 152979
# Related Non-Motorist -> 166642
# Non-Motorist Substance Abuse -> 167788
# Circumstance -> 140746
return df
Loading…
Cancel
Save