Naming convention of modules

Is there any rule for naming of modules? Can I name my file as pandas.py?
If I call this file in my main.py file like:
import calculator
import pandas

then, will it override the original inbuilt pandas library or it will throw error?

Avoid naming your file the same as a popular library, like pandas.py, to prevent conflicts. If you do, when you import pandas in your main.py, it’ll refer to your file, not the actual pandas library, causing errors.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.