You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When type hinting new pandas accessors, these will not be properly type hinted. Consider the possibility of adding hardcoded lines and imports. Lines to be added to the class. Something like:
Where line_given_by_the_user can be: pint: PintAccessor and {extra_imports} being PintAccessor corresponding import
How this information is given is still to be decided
EDIT: Another alternative would be to scan all accessors within a pandas dataframe and include them in the class scope of the dataframe (including associated import)
The text was updated successfully, but these errors were encountered:
When type hinting new
pandas
accessors, these will not be properly type hinted. Consider the possibility of adding hardcoded lines and imports. Lines to be added to the class. Something like:Where
line_given_by_the_user
can be:pint: PintAccessor
and {extra_imports} beingPintAccessor
corresponding importHow this information is given is still to be decided
EDIT: Another alternative would be to scan all accessors within a pandas dataframe and include them in the class scope of the dataframe (including associated import)
The text was updated successfully, but these errors were encountered: