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.

Quiz Topics

4 Modules

Data Engineering Concepts

8 topics
1.

Batch vs. Stream Processing

9 questions
2.

Data Pipeline Design and Implementation

10 questions
3.

Data Quality and Validation Techniques

10 questions
4.

Data Serialization Formats (JSON, Parquet, Avro)

10 questions
5.

Data Storage Solutions (Databases, Data Lakes)

10 questions
6.

Data Warehousing Concepts

10 questions
7.

ETL Processes (Extract, Transform, Load)

10 questions
8.

Version Control for Data (DVC, Git)

9 questions

Matplotlib

8 topics

NumPy

8 topics

Pandas

9 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([8, 10])

Series([8, 10])

Series([10, 12])

Quiz Topics

4 Modules

Data Engineering Concepts

8 topics
1.

Batch vs. Stream Processing

9 questions
2.

Data Pipeline Design and Implementation

10 questions
3.

Data Quality and Validation Techniques

10 questions
4.

Data Serialization Formats (JSON, Parquet, Avro)

10 questions
5.

Data Storage Solutions (Databases, Data Lakes)

10 questions
6.

Data Warehousing Concepts

10 questions
7.

ETL Processes (Extract, Transform, Load)

10 questions
8.

Version Control for Data (DVC, Git)

9 questions

Matplotlib

8 topics

NumPy

8 topics

Pandas

9 topics