Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,21 +27,19 @@ warnings.simplefilter(action='ignore', category=FutureWarning)
|
|
| 27 |
|
| 28 |
|
| 29 |
import numpy as np # linear algebra
|
| 30 |
-
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)
|
| 31 |
-
|
| 32 |
|
| 33 |
import os
|
| 34 |
-
for dirname, _, filenames in os.walk('/kaggle/input'):
|
| 35 |
-
for filename in filenames:
|
| 36 |
-
print(os.path.join(dirname, filename))
|
| 37 |
|
| 38 |
d = pd.read_csv('train.csv',encoding='latin1');
|
| 39 |
f = pd.read_csv('test.csv',encoding='latin1');
|
| 40 |
df = pd.concat([d,f])
|
| 41 |
|
| 42 |
print(df.shape)
|
| 43 |
-
|
| 44 |
-
|
| 45 |
|
| 46 |
"""## Preprocessing the dataset"""
|
| 47 |
|
|
|
|
| 27 |
|
| 28 |
|
| 29 |
import numpy as np # linear algebra
|
|
|
|
|
|
|
| 30 |
|
| 31 |
import os
|
| 32 |
+
#for dirname, _, filenames in os.walk('/kaggle/input'):
|
| 33 |
+
# for filename in filenames:
|
| 34 |
+
# print(os.path.join(dirname, filename))
|
| 35 |
|
| 36 |
d = pd.read_csv('train.csv',encoding='latin1');
|
| 37 |
f = pd.read_csv('test.csv',encoding='latin1');
|
| 38 |
df = pd.concat([d,f])
|
| 39 |
|
| 40 |
print(df.shape)
|
| 41 |
+
print(df.info())
|
| 42 |
+
print(df)
|
| 43 |
|
| 44 |
"""## Preprocessing the dataset"""
|
| 45 |
|