0Pricing
Data Science Academy · Lekcja

Minimum, maksimum i kwartyle

Odczytywanie zakresu i percentyli

Minimum, maksimum i kwartyle to bezpłatna lekcja Data Science Academy na CoddyKit. To lekcja 3 z 4. Możesz przeczytać całą lekcję poniżej za darmo — a potem ćwiczyć ją interaktywnie w przeglądarce z wbudowanym edytorem kodu i tutorem AI dostępnym 24/7. To część ścieżki edukacyjnej Data Science Academy, a Twój postęp synchronizuje się między webem a aplikacją CoddyKit. Kurs Data Science Academy zawiera 4 lekcji w sumie.

Części tej lekcji nie zostały jeszcze przetłumaczone i są wyświetlane po angielsku.

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. 📊

Często zadawane pytania

Czy lekcja „Minimum, maksimum i kwartyle” jest bezpłatna?

Tak — pełny tekst „Minimum, maksimum i kwartyle” jest dostępny za darmo tutaj w sieci. Aby ćwiczyć ją interaktywnie (wbudowany edytor kodu i tutor AI dostępny 24/7) i odblokować resztę kursu Data Science Academy, przejdź na CoddyKit PRO. Kurs Data Science Academy zawiera 4 lekcji w sumie.

Co nauczysz się w „Minimum, maksimum i kwartyle”?

Odczytywanie zakresu i percentyli Ćwiczysz Data Science Academy z praktycznym kodem, który uruchamiasz bezpośrednio w przeglądarce, a tutor AI dostępny 24/7 odpowiada na Twoje pytania podczas pracy nad lekcją.

Czy potrzebuję doświadczenia, aby zacząć Data Science Academy?

Nie wymagamy żadnego doświadczenia. Data Science Academy w CoddyKit jest strukturyzowany dla początkujących i zaawansowanych użytkowników, więc możesz zacząć tutaj lub od początku i uczyć się w swoim tempie. To lekcja 3 z 4.

Ile czasu zajmuje lekcja „Minimum, maksimum i kwartyle”?

Większość lekcji CoddyKit trwa około 5–10 minut. Każda lekcja to mały, interaktywny krok, dzięki czemu robisz systematyczne postępy i zawsze wracasz dokładnie do tego samego miejsca — na webie i w aplikacji.

Czy mogę pisać i uruchamiać kod w tej lekcji Data Science Academy?

Tak. Każda lekcja Data Science Academy zawiera wbudowany edytor kodu, więc piszesz i uruchamiasz prawdziwy kod bezpośrednio w przeglądarce i od razu otrzymujesz sprzężenie zwrotne od AI — bez konfiguracji na komputerze.

Wszystkie lekcje w tym kursie

  1. Średnia, mediana i moda
  2. Rozproszenie: wariancja i odchylenie standardowe
  3. Minimum, maksimum i kwartyle
  4. Wartości odstające i ich znaczenie
← Powrót do Data Science Academy