メインコンテンツへスキップ
ホームPython

コース

pandas でデータを整形する

中級スキルレベル
更新日 2024/11
DataFrameをワイドからロングに変形し、行・列のstack/unstackを行い、MultiIndexのDataFrameを効率的に整形します。
コースを無料で開始
PythonData Manipulation4時間15 ビデオ52 演習4,450 XP23,842達成証明書

無料アカウントを作成

または

続行すると、弊社の利用規約プライバシーポリシーに同意し、データが米国に保存されることに同意したことになります。

数千の企業の学習者に愛されています

Group

2名以上のトレーニングをお考えですか?

DataCamp for Businessを試す

コース説明

データは人間にとって読みやすい形式でも、分析には向かないことがよくあります。そこで役立つのが pandas です。DataFrame をさまざまな形式に整形できる強力なツールです。このコースでは、DataFrame に含まれる文字列列やネストされたデータの扱い方を学びながら、データサイエンティスト/アナリストとしてのスキルを伸ばします。FIFA の選手レーティング、書評、チャーン分析データなどの実データを使い、ワイド形式からロング形式への変形、行や列のスタック/アンスタック、マルチインデックス 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 分間のコーディング チャレンジで、外出先でも進歩できます。