pandas 판다스 기초 13 import CSV file
# Importing CSV Files ## First Steps with open('titanic.csv') as f: text = f.readlines() text ''' ['survived,pclass,sex,age,sibsp,parch,fare,embarked,deck\n', '0,3,male,22.0,1,0,7.25,S,\n', '1,1,female,38.0,1,0,71.2833,C,C\n', '1,3,female,26.0,0,0,7.925,S,\n', '1,1,female,35.0,1,0,53.1,S,C\n', '0,3,male,35.0,0,0,8.05,S,\n', '0,3,male,,0,0,8.4583,Q,\n', ''' # 같은게 배열된다. len(text) # 892 # pandas의 r..
2022. 7. 26.