Last active
May 31, 2018 15:11
-
-
Save sananand007/cb690a3e591526d4acd0bdbc8c015efe to your computer and use it in GitHub Desktop.
Kaggle_titanic_dataset [medium-2]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get the Data and see the dataset | |
import os | |
import matplotlib.pyplot as plt | |
import pandas as pd | |
path=os.getcwd() | |
filepath=[] | |
for file in os.listdir(path): | |
if 'csv' in file:filepath.append(path+"\\"+file) | |
for path in filepath: | |
if "train" in path:df_train=pd.read_csv(path) | |
if "test" in path:df_test=pd.read_csv(path) | |
if "gender" in path:gender_sub=pd.read_csv(path) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment