Python Data Engineering with Pandas, Numpy and Matplotlib

326 questions in the bank
Are you ready to take quiz?
Explore more
Logo
About the Quiz

Quiz will ask 20 randomly selected questions with allotted time of . You can take the quiz more than once. Once you submit the quiz, you can review how you have done, the correct the answers for each questions and the explanation for the correct the answer.

INR100.00
INR1000.00
Unlimited Attempts   (lifetime access)

Try your first attempt for free.

Quiz Topics

4 Modules

Pandas

9 topics
1.

Data Aggregation and Group Operations

10 questions
2.

Data Manipulation (Filtering, Sorting, Grouping)

9 questions
3.

Data Structures (Series, DataFrame)

10 questions
4.

Handling Missing Data (dropna, fillna)

10 questions
5.

Input/Output (Reading/Writing CSV, Excel, SQL)

10 questions
6.

Merging and Joining DataFrames

10 questions
7.

Pivot Tables and Cross-tabulations

10 questions
8.

String Manipulation and Regular Expressions

10 questions
9.

Time Series Analysis

10 questions

NumPy

8 topics

Matplotlib

8 topics

Data Engineering Concepts

8 topics
Sample questions

Which of the following statements correctly describes a Pandas Series?

A one-dimensional labeled array capable of holding any data type.

A two-dimensional labeled data structure with columns of potentially different types.

A collection of rows and columns where each column can be of a different type.

An immutable sequence of values.

What will be the output of the following code? pd.Series([1, 2, 3], index=['a', 'b', 'c'])['b']

1

2

3

KeyError

Which method is used to concatenate two DataFrames along the rows?

pd.concat()

pd.append()

pd.merge()

pd.join()

If you have a DataFrame df with a column 'A', how can you create a new column 'B' that is the square of 'A'?

df['B'] = df['A'] ** 2

df['B'] = np.square(df['A'])

df['B'] = df['A'].apply(lambda x: x**2)

df['B'] = df['A'].map(lambda x: x**2)

What is the result of pd.DataFrame({'A': [1, 2], 'B': [3, 4]})['A'] + pd.DataFrame({'A': [5, 6], 'B': [7, 8]})['A']?

Series([6, 8])

Series([6, 8], index=[0, 1])

Series([6, 8], index=[0, 1], dtype=int)

ValueError

INR100.00
INR1000.00
Unlimited Attempts   (lifetime access)

Try your first attempt for free

Signup to add this to cart.

Quiz Topics

4 Modules

Pandas

9 topics
1.

Data Aggregation and Group Operations

10 questions
2.

Data Manipulation (Filtering, Sorting, Grouping)

9 questions
3.

Data Structures (Series, DataFrame)

10 questions
4.

Handling Missing Data (dropna, fillna)

10 questions
5.

Input/Output (Reading/Writing CSV, Excel, SQL)

10 questions
6.

Merging and Joining DataFrames

10 questions
7.

Pivot Tables and Cross-tabulations

10 questions
8.

String Manipulation and Regular Expressions

10 questions
9.

Time Series Analysis

10 questions

NumPy

8 topics

Matplotlib

8 topics

Data Engineering Concepts

8 topics