-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
API DesignDeprecateFunctionality to remove in pandasFunctionality to remove in pandasgood first issue
Milestone
Description
Not sure if it was added intentionally, but it's possible to call numpy with the np
attribute of the pandas module:
import pandas
x = pandas.np.array([1, 2, 3])
While this is not documented, I've seen couple of places suggesting this as a "trick" to avoid importing numpy directly.
I personally find this hacky, and I think should be removed.
jorisvandenbossche
Metadata
Metadata
Assignees
Labels
API DesignDeprecateFunctionality to remove in pandasFunctionality to remove in pandasgood first issue