Question 1
What is Pandas?
A data visualization library
A machine learning library
A data manipulation and analysis library
A web development framework
Question 2
Which Pandas data structure is used for one-dimensional data?
DataFrame
Array
Series
List
Question 3
How can you read a CSV file into a Pandas DataFrame?
pd.load_csv()
pd.read_csv()
pd.import_csv()
pd.open_csv()
Question 4
What is the default index type when a DataFrame is created?
Numeric index starting from 1
Alphanumeric index based on row number
Numeric index starting from 0
Date-based index
Question 5
How can you select a specific column from a DataFrame?
df.select_column("ColumnName")
df.get_column("ColumnName")
df["ColumnName"]
df.column("ColumnName")
Question 6
What is the purpose of the head() method in Pandas?
To display the last few rows of a DataFrame
To display the first few rows of a DataFrame
To display summary statistics of a DataFrame
To display summary statistics of a DataFrame
Question 7
How can you filter rows in a DataFrame based on a condition?
df.filter(condition)
df.select_rows(condition)
df[condition]
df.filter_rows(condition)
Question 8
What does the shape attribute of a DataFrame represent?
Number of rows and columns
Number of rows only
Number of columns only
Data types of columns
Question 9
What is the purpose of the describe() method in Pandas?
To describe the data types of columns
To display summary statistics of a DataFrame
To provide information about missing values
To describe the structure of a DataFrame
Question 10
How can you drop a column from a DataFrame in Pandas?
df.remove_column("ColumnName")
df.drop_column("ColumnName")
df.remove("ColumnName", axis=1)
df.drop("ColumnName", axis=1)
There are 25 questions to complete.