Quiz Question 1 of 5
In a Python session, after importing numpy
as np
, pandas
as pd
, and matplotlib.pyplot
as plt
, which of the following best practices should be followed to maintain code readability and avoid errors when sharing your code with a team?
Choose the correct answer below:
-
A
Avoid using aliases and always use full module names for clarity.
-
B
Mix aliases and full module names to demonstrate flexibility in coding.
-
C
Use the aliases np, pd, and plt consistently throughout the code.
-
D
Occasionally use full module names like
numpy
,pandas
, andmatplotlib.pyplot
to avoid confusion.