data_treatment #1
Merged
aurian.jault
merged 4 commits from data_treatment
into master
11 months ago
@ -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…
Reference in new issue