This section introduces the foundational concepts of pandas, focusing on creating Series and DataFrames, basic operations, and understanding the library's core functionality.
Question 1
What does pandas stand for?
Panel Data
Python Data Analysis
Both a and b
None of the above
Question 2
Which function is used to create a Series in pandas?
pd.DataFrame()
pd.Series()
pd.Index()
pd.Table()
Question 3
Which method gives the first five rows of a DataFrame?
head()
top()
first()
preview()
Question 4
How do you check the version of pandas?
pd.version()
pd.__version__
pd.get_version()
version()
Question 5
What type of data structure is a DataFrame?
One-dimensional
Two-dimensional
Multi-dimensional
None of the above
Question 6
Which function allows you to create a DataFrame?
pd.Series()
pd.DataFrame()
pd.Table()
pd.List()
Question 8
Which method is used to display a summary of a DataFrame?
info()
describe()
Both a and b
None of the above
Question 10
How can you install pandas in Python?
pip install pandas
conda install pandas
Both a and b
None of the above
There are 10 questions to complete.