Skip to Content
밑바닥부터 시작하는 데이터 과학 데이터 분석을 위한 파이썬 프로그래밍과 수학·통계 기초
book

밑바닥부터 시작하는 데이터 과학 데이터 분석을 위한 파이썬 프로그래밍과 수학·통계 기초

by Joel Grus, Hangyeol Kim, Seongju Ha, Eunjung Park
May 2022
Beginner to intermediate
448 pages
13h 7m
Korean
Insight
Content preview from 밑바닥부터 시작하는 데이터 과학 데이터 분석을 위한 파이썬 프로그래밍과 수학·통계 기초
Data Science
146
󻱴󽴔󽴔󺠿󻱃󼗿󽴔󺞳󺶷󺋿
산포도 행렬을 살펴보면
series
1
series
0
과 음의 상관관계를,
series
2
series
1
과 양의 상관관계를 보이는 것을 확인할 수 있다. 그리고
series
3
0
6
, 두 가지 값만 가지는 것을 확인할 수 있다. 그중
0
series
2
의 작은 값들에
대응되며
6
series
2
의 큰 값들에 대응된다.
이 방법을 사용하면 주어진 변수끼리 대략 어떠한 관계가 있는지 간편하게 살
펴볼 수 있다. 물론
matplotlib
를 세밀하게 조절해서 상관관계를 보다 정확하게
보고 싶다면 시간이 훨씬 더 오래 걸릴 수도 있다.
10.2
NamedTuple 사용하기
흔히 데이터를 딕셔너리로 표현한다.
import datetime
stock
_
price = {'closing
_
price': 102.06,
'date': datetime.date(2014, 8, 29),
'symbol': 'AAPL'}
하지만 이런 표현 방식은 여러 이유로 이상적이지 않다. 딕셔너리는 약간의 오
버헤드(
overhead
)가 있는 비효율적인 표현 방식이기에 많은 수의 주가 정보가
있다면 필요 이상의 많은 메모리를 차지할 것이다. 대부분의 경우 이는 사소한
문제일 것이다.
더 큰 문제는 딕셔너리로 데이터에 접근할 때 오류를 일으키기 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

처음 시작하는 파이썬: 파이썬 패키지를 활용한 모던 컴퓨팅 입문

처음 시작하는 파이썬: 파이썬 패키지를 활용한 모던 컴퓨팅 입문

최길우, 빌 루바노빅

Publisher Resources

ISBN: 9788966262571