I’m trying to access some underscored functions in a submodule of pandas (in particular I want to reuse their date-conversion code), but they are prefixed with an underscore and as such not available to me. Is there any way to circumvent this behaviour?
I’m trying to access some underscored functions in a submodule of pandas (in particular
Share
Methods are not really private in python.
You can still access methods prefixed with underscores but you’re just not supposed to do so.
from Python.org : Private Variables and Class-local References