Advertisements
Advertisements
Question
While importing Pandas, is it mandatory to always use pd as an alias name? What would happen if we give any other name?
Very Short Answer
Advertisements
Solution
No, it is not mandatory to use pd as an alias name while importing Pandas. We can use any other name, but then we have to use that name to access Pandas functions.
Example: import pandas as p
shaalaa.com
Is there an error in this question or solution?
