AI & Machine Learning Quiz: 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.

आसान 10 सवाल ~5 मिनट पास होने के लिए 80%

मोड चुनें

आप गेस्ट के तौर पर खेल रहे हैं: XP और streak सेव रखने के लिए साइन इन करें।

सैंपल सवाल

सवाल 1 / 10

What does this print?

import pandas as pd
df = pd.DataFrame({"name": ["Ann", "Bob", "Cy"], "age": [31, 25, 40]})
print(df.shape)
जवाब दिखाएं

C. (3, 2) shape is (rows, columns). There are 3 people (rows) and 2 columns, so it is (3, 2).

इस क्विज़ में क्या है

  • shape, columns and selecting a column
  • Boolean filtering and combining conditions with &
  • loc (labels) vs iloc (positions)
  • Sorting with sort_values()
  • Series vs DataFrame results

अक्सर पूछे जाने वाले सवाल

क्या अकाउंट ज़रूरी है?

नहीं। कोई भी खेल सकता है। XP, streak, badge और हिस्ट्री सेव रखने के लिए साइन इन करें।

क्या मैं इसे दोबारा दे सकता हूं?

हां। आपका बेस्ट स्कोर सेव रहता है, और हर बार सवाल और जवाब शफ़ल होते हैं।