Python 튜토리얼

Lv1 EDA 2/5 python 파이썬 파일 불러오기(read_csv)

2021.06.09 12:11 16,477 Views

파이썬에서 데이터 파일(csv 파일)을 불러오기 위해서는 pandas 라이브러리를 이용해야 합니다.

pandas를 이용해 csv 파일을 불러오기 위해서는 아래와 같이 pandas를 먼저 import 해야합니다. 그리고 약어로 지정한 pd를 사용하여 read_csv함수를 통해 csv 파일을 불러 올 수 있습니다.


import pandas as pd
data = pd.read_csv('파일경로/파일이름.csv')



[Colab 실습 링크]


완료하신 분은 댓글에 done 이나 ✅ 이모지를 남겨주세요. 😉


Colaboratory 를 처음 접한 분은 👉 Colab 이란?


⬅️ Lv1 | EDA | 1/5 | 라이브러리불러오기(import) / Lv1 | EDA | 3/5 | 행열갯수관찰하기(shape) ➡️

↩️ 오늘의 파이썬 리스트


👨‍💻데이스쿨 로 Up-Skill Re-Skill👩🏻‍💻


#데이콘 #데이콘_101 #파이썬 #머신러닝 #딥러닝 #인공지능 #앙상블 #의사결정나무 #코랩 #데이터 #데이터분석 #판다스 #넘파이 #데이터사이언티스트 #AI #Python # Pandas #Numpy #lightgbm #read_csv #DACON #kaggle #sckit-learn

로그인이 필요합니다
0 / 1000
pyoh.amen
2021.06.08 10:46

김상혁 12
2021.06.08 13:28

감사합니다.

함께하는우리
2021.06.09 10:08

SIMAK
2021.06.12 11:13

문호진
2021.06.13 15:59

😉

수면상태
2021.06.14 22:32

✅ 

mars.sylee
2021.06.18 09:57

sangjin153
2021.06.22 11:33

키튼
2021.06.24 14:03

yasuo
2021.06.25 20:15

캣니스
2021.06.26 11:05

 ✅

kyeongsoo
2021.06.27 04:21

장대양봉
2021.06.29 16:40

done

ocial
2021.06.30 09:31

done

2021.06.30 15:26

우철
2021.06.30 15:49

Dataseeker
2021.07.01 23:20

도비콘
2021.07.04 11:07

taetaetae
2021.07.06 12:45

하민
2021.07.07 17:38

done

skyalzza
2021.07.12 18:20

done

쩐쭈나이차
2021.07.12 23:00

토스트
2021.07.15 15:39

행몬
2021.07.16 22:07

done

샌드위치
2021.07.16 22:53

삭제된 댓글입니다

vv00
2021.07.18 16:50

동그르르
2021.07.18 18:34

나르샤
2021.07.19 14:12

임노아
2021.07.19 16:47

done

베리블루블루베리
2021.07.20 00:04

done

김라바
2021.07.21 09:55

done

예온
2021.07.22 10:40

2021.07.24 14:19

done

2021.07.24 14:22

노란마리
2021.07.25 14:10

done

도란도란
2021.07.25 16:38

옐레나
2021.07.27 12:28

그린이
2021.07.27 15:09

징징E
2021.07.27 16:21

junghyun11
2021.07.28 14:31

가즈아~
2021.07.28 17:22

화니파니
2021.07.28 18:39

taemo
2021.07.29 15:51

ㅅㅇㅅㅇ
2021.07.30 12:38

enchanted garden
2021.07.31 01:11

놀란햄스터
2021.07.31 21:13

정장입고시퍼요
2021.08.02 14:44

dazzi
2021.08.02 20:33

분석을할상인가
2021.08.03 13:25

힝잉잉이
2021.08.03 23:48

카카오
2021.08.09 13:37

✅ 

테라스
2021.08.11 21:30

✅ 

hansarami
2021.08.12 00:29

done

비회원
2021.08.12 19:57

해만이
2021.08.16 00:38

 ✅ 

하디맥
2021.08.19 15:46

 ✅

아아유진
2021.08.19 17:47

향기
2021.08.19 18:14

😉

뿌요
2021.08.22 17:23

주주리
2021.08.22 21:36

세라자데
2021.08.23 12:11

done

이정국
2021.08.24 10:29

물빛반짝
2021.08.24 15:52

minakusi
2021.08.26 13:50

Diceregallo
2021.08.27 18:27

jangThang
2021.08.30 15:53

SeoyeonLee
2021.08.30 18:35

꿀막
2021.08.31 15:01

B-Jay
2021.08.31 20:03

Kawah
2021.09.01 00:25



여리니미
2021.09.02 01:19


그린티
2021.09.02 10:33

zzzzzih
2021.09.02 14:27

Willbee
2021.09.03 03:21

done

DevJH
2021.09.03 16:14

삭제된 댓글입니다

매미인턴
2021.09.03 17:01

done

FuTheze
2021.09.05 14:13

지내니
2021.09.07 09:52

K2
2021.09.07 17:02

서승현
2021.09.07 23:08

서승현
2021.09.07 23:27

삭제된 댓글입니다

DSJY
2021.09.08 13:44

Wonjun Lee
2021.09.08 14:09

백피터
2021.09.11 13:50

다욤
2021.09.12 18:16

JongHyeok
2021.09.14 13:39

2021.09.14 21:18

 ✅ 

모모13
2021.09.15 09:02

랑의환국
2021.09.15 10:21

done

기차역
2021.09.15 13:45

Solhong
2021.09.16 17:32

 ✅ 

수피아
2021.09.19 16:03

done

exception
2021.09.20 15:40

✅ 

지내니
2021.09.21 10:29

찬찬이
2021.09.23 16:05

Arniel
2021.09.24 19:14

done

neppy
2021.09.26 18:56

done

진리의 탐구자
2021.09.28 11:24

done

changhyeon
2021.09.28 15:23

done

changhyeon
2021.09.28 15:26

삭제된 댓글입니다

Holte
2021.09.30 00:22

Holte
2021.09.30 00:23

ikmarch28
2021.10.01 11:13

LD
2021.10.01 12:46

줌돌
2021.10.03 22:22

쇠질하는코린이
2021.10.05 14:26

done

junghyuntaek
2021.10.09 15:00

참눈이
2021.10.10 14:21

감사합니다.

ChimChim
2021.10.17 19:27

Ruler_H
2021.10.21 15:15

MINGAHAHA
2021.10.25 15:53

왼쪽눈썹왁싱
2021.10.26 15:50

cori
2021.10.30 19:25

done

코딩코기
2021.10.31 12:13

done

횡재
2021.11.01 18:19

cberrys
2021.11.01 21:46

mage
2021.11.05 00:15

done

letsbig
2021.11.09 14:20

kaya
2021.11.09 17:30

꾸니
2021.11.09 17:52

coddinggoldfish
2021.11.11 13:17

DDoS
2021.11.15 21:36

mission clear

아자액션가면
2021.11.16 11:37

능sook
2021.11.18 12:37

나런이
2021.11.18 18:20

✅ 

breaktime
2021.11.23 15:21

✅ 

바스티아
2021.11.25 14:24

쫄쫄
2021.11.25 15:22

gpflr
2021.11.26 15:43

순무
2021.11.30 20:36

jbsh_MAD_SAIKYO
2021.12.01 11:41

done

Hod0ri
2021.12.01 19:46

비회원
2021.12.01 22:59

지금노플
2021.12.06 17:12

데이터엔지니어지망생
2021.12.07 22:31

sotanfdl
2021.12.08 18:43

주주리
2021.12.12 23:08

GOKILDONG
2021.12.13 09:54

done

크로와상
2021.12.13 11:42

Soohobi
2021.12.13 17:13

baby_perm
2021.12.13 18:33

done

ark2300
2021.12.14 15:29

하랴랴
2021.12.15 17:30

MMMMMMMMMMMMMMMMMMMM
2021.12.16 20:06

done

단발토끼쓰
2021.12.17 17:44

😉

녹삭
2021.12.18 09:31

moran
2021.12.20 14:02

Nifty
2021.12.21 16:56

자퇴생
2021.12.24 00:16

done

마앙고
2021.12.24 23:42

 ✅ 

말하는_감자
2021.12.25 02:11

홍구
2021.12.27 03:35

done

s_nana
2021.12.27 21:50

김다연
2021.12.29 00:32

암냠냠
2021.12.29 00:35

done

cm
2021.12.29 22:46

✅ 

자퇴생
2022.01.01 23:24

done

글월
2022.01.03 17:08

done

최시현
2022.01.03 19:56

done

yongE
2022.01.04 03:31

isoy
2022.01.04 22:58

done

benelli
2022.01.04 23:41

done

201702018
2022.01.05 16:07

hijihyo
2022.01.07 00:17

done

구Dok
2022.01.07 21:53

jj150618
2022.01.09 02:55

지누지누
2022.01.11 23:58

done

bulbna
2022.01.12 13:33

djffjdEndEkd
2022.01.12 23:40

dbnoid
2022.01.13 13:26

inuin
2022.01.13 13:26

done

타콕
2022.01.14 16:43

햄이
2022.01.20 00:12

done

bluemk00
2022.01.21 22:06

done

minelolo
2022.01.24 21:18

done

호랭이띠
2022.01.25 10:42

진진도리
2022.01.25 12:18

언용
2022.01.25 17:15

삭제된 댓글입니다

재키
2022.01.27 11:18

윤도김
2022.01.28 11:17

sssssun
2022.02.03 19:42

해달이
2022.02.04 21:41

done

powerwook
2022.02.07 18:51

mansig
2022.02.08 12:01

찹쌀아빠
2022.02.09 18:27

daehan
2022.02.09 21:43

일렁
2022.02.12 16:14

동도서기
2022.02.12 22:40

무너
2022.02.14 21:48

DACON.NPC
2022.02.16 15:26

🎀🎀

준용_Choi
2022.02.17 01:16

done

navy
2022.02.17 20:51

땅콩누나
2022.02.19 22:07

fned
2022.03.06 15:38

으아아아악
2022.03.07 20:56

piape
2022.03.10 16:40

하얀레몬
2022.03.10 16:44


acebed
2022.03.10 17:55

done

iizi
2022.03.10 20:25

done

민균
2022.03.11 19:09

done

kimgugu
2022.03.15 12:16

minion
2022.03.16 18:41

졔이
2022.03.16 21:56

이다다
2022.03.17 21:46

done

우유먹고쑥
2022.03.18 10:15

done

Bsh
2022.03.19 02:11

done

jyejay
2022.03.21 16:07

done

잘하고싶은딥린이
2022.03.24 14:48

Jading
2022.03.29 17:53

jos0213
2022.03.30 00:39

비회원
2022.04.05 11:47

Kdata
2022.04.05 17:15

세도리
2022.04.06 12:23

 ✅

pineapple
2022.04.09 23:12

Teacup
2022.04.14 21:18

done

LS
2022.04.15 00:03

done

위지
2022.04.18 09:41

done

즈즈
2022.04.20 01:33

done

닥터페퍼마시따
2022.04.21 16:54

done

코딩백수
2022.04.21 17:02

done

지모
2022.04.27 23:08

done

argonaise
2022.04.28 16:04

done

비회원
2022.05.03 23:04

done

deus_ex_marchina
2022.05.07 08:49

보일러
2022.05.09 22:42

미키
2022.05.11 08:12

pp.m
2022.05.12 12:18

rkdls
2022.05.12 18:17

done

Jay0329
2022.05.18 23:39

krooner
2022.05.19 11:09

두콩
2022.05.19 19:21

done

yell
2022.05.21 06:25

done

chloe_hj
2022.05.23 21:51

그린이
2022.05.25 08:22

😉

geminii01
2022.05.25 17:08

done

김현배
2022.05.26 15:59

라다나가
2022.05.29 21:50

트세연
2022.06.02 16:51

jaka
2022.06.05 12:57

동동그리
2022.06.06 19:46

kreimben
2022.06.18 17:06

살랑
2022.06.20 21:37

레디미르
2022.06.22 14:38

done

KHK
2022.06.22 16:55

done

샤돌
2022.06.24 03:49

done

깸묵
2022.06.25 11:37

done

dhee0111
2022.06.27 00:51

done

Wefe
2022.06.27 01:12

dnd404
2022.06.29 14:24

rhkdgml
2022.06.29 15:56

3351
2022.06.30 13:45

everydayhongsi
2022.07.01 07:48

done

돈벌자
2022.07.03 20:03

꿈야꿈야꿍
2022.07.09 23:43

nigel
2022.07.21 09:47

dnwne
2022.07.21 15:33

두루미야
2022.07.21 23:01

부산알파카
2022.07.24 15:33

done

whdgus928
2022.07.25 13:04

✅ ✅ 

우주인
2022.07.25 15:12

엘라27
2022.07.25 21:17

done

forest_yoon
2022.07.26 05:12

✅ 

오늘내일한다
2022.07.26 19:13

ickhwan
2022.07.27 13:41

slave
2022.07.28 11:46

원숭이세마리
2022.08.01 16:02

김귤
2022.08.01 16:36

배진용
2022.08.03 21:24

삭제된 댓글입니다

C_YunJu
2022.08.03 22:29

done

부기온앤온
2022.08.05 01:01

SauberHands
2022.08.07 15:00

곽샘
2022.08.08 08:19

치즈볶이
2022.08.08 20:29

꿈야꿈야꿍
2022.08.10 15:59


ai_pedagogy
2022.08.11 15:08

😀

최진원
2022.08.19 18:14

🔥🔥

growleb
2022.08.22 21:37

굿전
2022.08.29 09:57

완료

귤이조아
2022.08.29 23:30

2022.09.05 10:46

 ✅ 

skanehfud279
2022.09.07 10:16

done

pysung
2022.09.07 12:38

done

hnkyul
2022.09.13 12:42

done

재상쓰
2022.09.15 10:29

done

나중에보자
2022.09.18 17:49

done

kevinlee
2022.09.20 18:19

done

새봄
2022.09.24 01:03

✅✅

hugo_o
2022.09.24 15:16

✅ 

baeksh0330
2022.09.24 15:25

지수98
2022.09.26 12:24

WINTER
2022.10.03 00:22

sadas

Tica
2022.10.04 18:45

엿장수
2022.10.10 15:24

✅✅

수잇
2022.10.10 15:52

 ✅ 

긍정의힘
2022.10.12 20:15

2022.10.14 17:49

호뚝이
2022.10.17 11:40

고구마망
2022.10.18 09:40

🍠

소심한인프피
2022.10.23 21:46

 ✅ 

gnt0000
2022.10.27 00:25

✅ 

김형건
2022.10.28 14:03

yun_
2022.10.28 22:33

done

sk100
2022.10.31 17:36

done

nImoS
2022.10.31 23:03

미스터사이공
2022.11.05 11:38

keogh
2022.11.07 23:35

myogyang
2022.11.08 17:24

SHL
2022.11.10 18:14

타콕
2022.11.14 20:43

DACON.SP
2022.11.18 15:29

Eunwoo
2022.11.21 15:55

함께뛰는
2022.11.21 23:52

data 파일을  바탕화면에 만들고 다운받았는데 경로오류가뜨네요   

엽스
2022.11.24 13:18

savvyall
2022.11.28 11:17

유나뇽
2022.12.16 19:44

JJioning
2022.12.23 17:51

하이랑
2022.12.26 00:31

너도
2022.12.26 15:29

sungchilll
2023.01.03 19:54

done

웅버
2023.01.03 23:03

유정잉
2023.01.04 16:17

다모
2023.01.05 17:00

ickhwan
2023.01.06 15:44

ml.gil
2023.01.09 14:25

✅ 

highllight
2023.01.11 16:03

코튼클린
2023.01.17 11:25

aiswen
2023.02.02 17:02

탐라
2023.02.21 20:46

저예요저
2023.02.24 10:12

✅ 

silv.
2023.03.06 10:55

래시포드
2023.03.06 16:48

johnchoi44
2023.06.02 11:48

done

jws9490
2023.07.03 17:31

done

나도파이썬고수
2023.07.26 02:09

RIST3동
2023.08.22 01:25

wjdwltn11
2023.11.16 11:31

이믄서
2024.01.09 22:25