강의

멘토링

커뮤니티

Inflearn Community Q&A

haeunlee0796's profile image
haeunlee0796

asked

Introduction to Machine Learning from Scratch

Groupby II

챕터5: group by

Written on

·

137

0

안녕하세요,

transformation 부분이 이해가 안됩니다.

설명해주신 예제를 보면 score=lambda x: (x.max()) 

grouped.transform(score) 인데 Riders 가 왜 876이 되고 랭크는 2가되며 year 은 2017년으로 변환 되나요? 

max 나 min 처럼 series data 에 적용되는 data들은 key 값을 기준으로 Grouped 된 데이터 기준 이라고 하셨는데, 무슨 의미 인가요? 

또한 key값을 기준으로 한다면 Riders 가 Key 값인지도 궁금합니다.

자세한 설명 부탁드립니다.

감사합니다.

머신러닝 배워볼래요?

Answer

This question is waiting for answers
Be the first to answer!
haeunlee0796's profile image
haeunlee0796

asked

Ask a question