본문으로 바로가기
Python

강의

pandas로 데이터 재구조화하기

중급기술 수준
업데이트됨 2024. 11.
넓은 형식을 긴 형식으로 변환하고, 행·열을 stack/unstack하며, 멀티 인덱스 DataFrame을 효율적으로 다룹니다.
무료로 강의 시작
PythonData Manipulation4시간15 동영상52 연습 문제4,450 XP23,842성취 증명서

무료 계정을 만드세요

또는

계속 진행하시면 당사의 이용약관, 개인정보처리방침 및 귀하의 데이터가 미국에 저장되는 것에 동의하시는 것입니다.

수천 개 기업의 학습자들이 사랑하는

Group

2명 이상을 교육하시나요?

DataCamp for Business 체험

강의 설명

데이터는 사람이 읽기 쉬운 형태이지만, 데이터 분석에 적합하지 않은 경우가 자주 있습니다. 이런 때 pandas가 유용합니다. pandas는 DataFrame을 다양한 형식으로 재구조화할 수 있는 강력한 도구예요. 이 강의에서는 DataFrame에 포함된 문자열 열과 중첩 데이터를 다루는 방법을 배우며 데이터 과학자와 분석가로서의 역량을 키우게 됩니다. FIFA 선수 평점, 도서 리뷰, 이탈 분석(churn) 데이터 등 실제 데이터를 활용해, DataFrame을 wide 형식에서 long 형식으로 변환하고, 행과 열을 stack/unstack하며, 다중 인덱스 DataFrame의 기술 통계를 구하는 방법을 익혀요.

선수 조건

Data Manipulation with pandas
1

Introduction to Data Reshaping

Let's start by understanding the concept of wide and long formats and the advantages of using each of them. You’ll then learn how to pivot data from long to a wide format, and get summary statistics from a large DataFrame.
챕터 시작
2

Converting Between Wide and Long Format

Master the technique of reshaping DataFrames from wide to long format. In this chapter, you'll learn how to use the melting method and wide to long function before discovering how to handle string columns by concatenating or splitting them.
챕터 시작
3

Stacking and Unstacking DataFrames

In this chapter, you’ll level-up your data manipulation skills using multi-level indexing. You'll learn how to reshape DataFrames by rearranging levels of the row indexes to the column axis, or vice versa. You'll also gain the skills you need to handle missing data generated in the stacking and unstacking processes.
챕터 시작
4

Advanced Reshaping

pandas로 데이터 재구조화하기
강의
완료

수료증 획득

LinkedIn 프로필, 이력서 또는 CV에 이 자격증을 추가하세요
소셜 미디어와 성과 평가에서 공유하세요
지금 등록

19백만 명 이상의 학습자와 함께 pandas로 데이터 재구조화하기을(를) 시작하세요!

무료 계정을 만드세요

또는

계속 진행하시면 당사의 이용약관, 개인정보처리방침 및 귀하의 데이터가 미국에 저장되는 것에 동의하시는 것입니다.

DataCamp for Mobile을 통해 데이터 분석 능력을 향상시키세요.

모바일 강좌와 매일 5분 코딩 챌린지를 통해 이동 중에도 학습 효과를 높이세요.