- Esecutori
-
Impara
Impara Python Esempi eseguibili, NumPy, pandas e altro Impara l'IA / Machine LearningReti neurali, ML e LLM da zero Impara C e C++ Puntatori, memoria, STL e C++ moderno Impara C#Fondamenti, OOP, LINQ, async ed esercizi .NET Impara MatplotlibGrafici a linee, barre, dispersione e torta con visualizzatori Impara RustOwnership, trait, gestione degli errori e thread Impara GoSlice, interfacce, goroutine e canali Algoritmi Python Ricerca, ordinamento, ricorsione e visualizzazioni O(n) Algoritmi C e C++ Confronta le implementazioni in C e C++ Programmazione per bambini Impara a programmare giocando!
- QuizNuovo
- SfideNuovo
- Per docentiNuovo
- Aggiornamenti
- Offrimi un caffè
Quiz di AI & Machine Learning: Pandas DataFrames
This pandas quiz covers the DataFrame basics you use before any analysis or model. You will predict the result of selecting columns, filtering rows, sorting and using loc and iloc, plus two classic errors.
Domanda di esempio
Domanda 1 di 10What does this print?
import pandas as pd
df = pd.DataFrame({"name": ["Ann", "Bob", "Cy"], "age": [31, 25, 40]})
print(df.shape)
Mostra la risposta
C. (3, 2) shape is (rows, columns). There are 3 people (rows) and 2 columns, so it is (3, 2).
Cosa copre questo quiz
shape,columnsand selecting a column- Boolean filtering and combining conditions with
& loc(labels) vsiloc(positions)- Sorting with
sort_values() - Series vs DataFrame results
Domande frequenti
Serve un account?
No. Chiunque può giocare. Accedi per salvare XP, serie, badge e cronologia.
Posso rifarlo?
Sì. Il tuo miglior punteggio resta salvato, e domande e risposte vengono mescolate ogni volta.