Importe, inspecione, repita
Conheça o ciclo diário de importar e explorar.
Importe, inspecione, repita é uma aula grátis de Data Science Academy no CoddyKit. Esta é a aula 4 de 4. Você pode ler a aula completa abaixo gratuitamente — depois pratica ao vivo no navegador com um editor de código integrado e um tutor de IA 24/7. Faz parte do caminho de aprendizado de Data Science Academy, e seu progresso é sincronizado entre a web e o app CoddyKit. O curso de Data Science Academy inclui 4 aulas no total.
Partes desta aula ainda não foram traduzidas e aparecem em inglês.
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. 🔁
Perguntas Frequentes
A aula “Importe, inspecione, repita” é grátis?
Sim — o texto completo de “Importe, inspecione, repita” é grátis para ler aqui na web. Para praticá-la interativamente (um editor de código integrado e um tutor de IA 24/7) e desbloquear o restante do curso de Data Science Academy, atualize para CoddyKit PRO. O curso de Data Science Academy inclui 4 aulas no total.
O que vou aprender em “Importe, inspecione, repita”?
Conheça o ciclo diário de importar e explorar. Você pratica Data Science Academy com código prático que executa diretamente no navegador, e um tutor de IA 24/7 responde suas dúvidas enquanto trabalha na aula.
Preciso ter experiência prévia para começar Data Science Academy?
Nenhuma experiência prévia é necessária. Data Science Academy no CoddyKit é estruturado para alunos iniciantes até avançados, então você pode começar aqui ou desde o início e aprender no seu ritmo. Esta é a aula 4 de 4.
Quanto tempo leva a aula “Importe, inspecione, repita”?
A maioria das aulas CoddyKit leva cerca de 5–10 minutos. Cada uma é compacta e interativa, então você faz progresso constante e retoma exatamente de onde parou entre web e app.
Posso escrever e executar código nesta aula de Data Science Academy?
Sim. Cada aula de Data Science Academy inclui um editor de código integrado, então você escreve e executa código real direto no navegador e recebe feedback de IA instantaneamente — nenhuma configuração local necessária.
Todas as aulas deste curso
- Instale Python sem complicação
- Células, kernels e ordem de execução
- Notas em Markdown ao lado do código
- Importe, inspecione, repita