0Pricing
Data Science Academy · レッスン

最小値、最大値、四分位数

範囲とパーセンタイルを読み取る

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

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

The Edges of Your Data

Center and spread leave out the extremes. Knowing the smallest and largest values frames the range your data can possibly take. 🔭

Min and Max

The min is the lowest value and the max is the highest. They are your first guard against typos like a negative age or an impossible price.

df["age"].min(), df["age"].max()

The Range

Subtract min from max and you get the range, the total width of your data. It is simple but easily wrecked by a single extreme value.

Splitting Sorted Data

Sort your values and cut them into four equal parts. The three cut points are your quartiles, and they describe the data far more robustly.

Q1, the First Quartile

The first quartile Q1 is the 25th percentile. One quarter of your values fall below it, marking the bottom of the bulk.

Q2 Is the Median

The second quartile Q2 is the 50th percentile, which is exactly the median you already met. Half the data sits on each side of it.

Q3, the Third Quartile

The third quartile Q3 is the 75th percentile. Three quarters of values fall below it, so only the top slice lies above.

Asking for a Percentile

The quantile method gives you any cut point you want. Pass 0.25 for Q1 or 0.75 for Q3 directly on a column.

df["score"].quantile(0.75)

The Interquartile Range

Subtract Q1 from Q3 and you have the IQR, the spread of the middle half. It ignores the extremes, so outliers cannot inflate it.

The Five-Number Summary

Min, Q1, median, Q3, and max form the five-number summary. Together they sketch the full shape of a distribution in just five values.

Already in describe

You do not compute quartiles by hand. The describe output lists the 25, 50, and 75 percent rows for every numeric column.

df.describe()

Quick Check

You want a spread measure that ignores extreme values entirely.

Recap: Range and Quartiles

You can now read the edges with min and max and the inner structure with quartiles and IQR. Five numbers describe a whole distribution. 📊

よくある質問

「最小値、最大値、四分位数」レッスンは無料ですか?

はい。「最小値、最大値、四分位数」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと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に戻る