0Pricing
Data Science Academy · レッスン

単変量から二変量へ

単一列から関係性の分析へ

「単変量から二変量へ」はCoddyKit上の無料Data Science Academyレッスンです。 これはレッスン3/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはData Science Academy学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 Data Science Academyコースには全4レッスンが含まれています。

このレッスンの一部はまだ翻訳されておらず、英語で表示されています。

One Column, Then Two

Good EDA has an order. First understand each column alone, then study how pairs move together. Start univariate, finish bivariate. 📊

What Univariate Means

Looking at a single column on its own is univariate analysis. You ask what is typical and how spread out the values are.

Histograms Show Shape

For one numeric column, a histogram reveals its shape: bell, skewed, or lumpy. Shape hints at how to model it later.

df["age"].hist()

Bar Charts for Categories

For a single label column, a bar chart of value_counts shows which categories dominate and which are rare.

df["plan"].value_counts().plot.bar()

Center and Spread

Each numeric column has a center, like the mean, and a spread, like the standard deviation. Together they summarize it in two numbers.

Now Compare Two Columns

Once columns make sense alone, study pairs. Bivariate analysis asks whether two variables rise and fall together.

Number vs Number

For two numeric columns, a scatter plot shows whether they trend together, oppose, or scatter with no link at all.

df.plot.scatter(x="tenure", y="charges")

Category vs Number

To compare a number across groups, group then summarize. A grouped mean shows how charges differ by plan in one line.

df.groupby("plan")["charges"].mean()

Category vs Category

For two label columns, a crosstab counts every combination, so you can see which pairs appear together often.

pd.crosstab(df["plan"], df["churn"])

Quantify the Link

A scatter hints, but a number confirms. The correlation between two numeric columns measures how tightly they move together.

df["tenure"].corr(df["charges"])

Always Build Up in Order

Jumping to relationships before knowing each column hides traps. The univariate-first order keeps your conclusions trustworthy.

Quick Check

You want to see if two numeric columns move together.

Recap: Single Then Paired

You explore one column with histograms and bars, then pairs with scatters, groupings, and correlation. Order keeps insights honest. ✅

よくある質問

「単変量から二変量へ」レッスンは無料ですか?

はい。「単変量から二変量へ」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、Data Science Academyコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 Data Science Academyコースには全4レッスンが含まれています。

「単変量から二変量へ」で何を学びますか?

単一列から関係性の分析へ ブラウザで直接実行するハンズオンコードでData Science Academyを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。

Data Science Academyを始めるのに経験は必要ですか?

事前経験は必要ありません。CoddyKitのData Science Academyは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン3/4です。

「単変量から二変量へ」レッスンにはどのくらい時間がかかりますか?

ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。

このData Science Academyレッスンでコードを書いて実行できますか?

はい。すべてのData Science Academyレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。

このコースのすべてのレッスン

  1. まず問いを明確にする
  2. すべての列をプロファイリングする
  3. 単変量から二変量へ
  4. 見つけたことを書き留める
← Data Science Academyに戻る