Importieren, untersuchen, wiederholen
Die alltägliche Schleife aus Importieren und Erkunden.
Importieren, untersuchen, wiederholen ist eine kostenlose Data Science Academy-Lektion auf CoddyKit. Dies ist Lektion 4 von 4. Du kannst die komplette Lektion unten kostenlos lesen – dann übst du sie direkt im Browser mit einem integrierten Code-Editor und einem KI-Tutor rund um die Uhr. Sie ist Teil des Data Science Academy-Lernpfads, und dein Fortschritt wird über Web und CoddyKit-App synchronisiert. Der Data Science Academy-Kurs umfasst insgesamt 4 Lektionen.
Teile dieser Lektion wurden noch nicht übersetzt und werden auf Englisch angezeigt.
The Daily Rhythm
Most analysis follows a simple loop: import a tool, inspect what you have, then repeat. Master this rhythm and notebooks stop feeling scary.
Import a Library
The first cell almost always brings in your tools. An import loads a library so its functions are ready for the rest of your work.
import pandasGive It a Short Alias
Typing pandas constantly is tiring, so people alias it to pd. The as keyword renames the import to something quick.
import pandas as pdThe Famous Two
Almost every data notebook opens with two imports: pandas as pd for tables and numpy as np for fast math.
import numpy as npLoad Some Data
Now pull data into the notebook. Reading a CSV into a table gives you a DataFrame, the object you will inspect and explore.
df = pd.read_csv("sales.csv")Peek at the Top
Never trust data you have not looked at. Calling head shows the first few rows so you can sanity-check what loaded.
df.head()Check the Shape
How big is this table? The shape attribute returns rows and columns as a pair, telling you the scale at a glance.
df.shapeList the Columns
Before analysis, learn what you have to work with. The columns attribute lists every column name in the table.
df.columnsOne-Line Overview
Want types and missing counts together? The info method prints a compact summary of every column in one go.
df.info()Inspect, Then Refine
What you see guides your next move. You might repeat the loop: import another tool, reload, or inspect a different slice.
Small Steps Beat Big Leaps
Run one cell, read the output, then write the next. This tight loop catches mistakes early instead of after a giant script.
Quick Check
You just loaded a CSV and want a fast look at the first handful of rows.
Recap: Import, Inspect, Repeat
You learned the everyday loop: import your tools, load data, inspect with head, shape, and info, then refine. That is data work in a nutshell. 🔁
Häufig gestellte Fragen
Ist die Lektion „Importieren, untersuchen, wiederholen“ kostenlos?
Ja — der vollständige Text von „Importieren, untersuchen, wiederholen“ ist hier im Web kostenlos zu lesen. Um sie interaktiv zu üben (integrierter Code-Editor und 24/7 KI-Tutor) und den Rest des Data Science Academy-Kurses freizuschalten, upgrade auf CoddyKit PRO. Der Data Science Academy-Kurs umfasst insgesamt 4 Lektionen.
Was lerne ich in „Importieren, untersuchen, wiederholen“?
Die alltägliche Schleife aus Importieren und Erkunden. Du übst Data Science Academy mit praktischem Code, den du direkt im Browser ausführst, und ein 24/7 KI-Tutor beantwortet deine Fragen während du die Lektion bearbeitest.
Brauche ich Erfahrung, um Data Science Academy zu starten?
Keine Vorkenntnisse erforderlich. Data Science Academy auf CoddyKit ist für Anfänger bis fortgeschrittene Lernende strukturiert, sodass du hier starten oder von Anfang an beginnen und in deinem eigenen Tempo voranschreiten kannst. Dies ist Lektion 4 von 4.
Wie lange dauert die Lektion „Importieren, untersuchen, wiederholen“?
Die meisten CoddyKit-Lektionen dauern etwa 5–10 Minuten. Jede ist kompakt und interaktiv, sodass du stetig Fortschritte machst und genau dort weitermachst, wo du aufgehört hast – im Web und in der App.
Kann ich in dieser Data Science Academy-Lektion Code schreiben und ausführen?
Ja. Jede Data Science Academy-Lektion enthält einen integrierten Code-Editor, sodass du echten Code direkt in deinem Browser schreibst und ausführst und sofort KI-Feedback erhältst — ohne lokale Einrichtung erforderlich.
Alle Lektionen in diesem Kurs
- Python unkompliziert installieren
- Zellen, Kernel und Ausführungsreihenfolge
- Markdown-Notizen neben Ihrem Code
- Importieren, untersuchen, wiederholen