I'm a Python
beginner and have just started using packages.
When you're calling a function after you've imported the package, do you always have to reference it to make it work, or is that just good practice?
For example, I'm working with the pandas
package in ipython
.
import pandas
import numpy as np
df = pandas.read_csv('/Users/admin/Documents/data.csv')
Do I always have to use the package name to call the function? If I don't, is it a best pract to always reference it?