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
TYP: Narrow down types of arguments (DataFrame) (#52752)
* Specify method in reindex for class dataframe
Specify parser in to_xml of class dataframe
Update doc string to_orc in class dataframeUpdate doc string to_orc in class dataframe
Specify engine in to_parquet in class dataframe
* undo changes and adding None as an optional argument type for validate argument of join and merge method
Change byteorder argument typing for to_stata method to literal, added definition in pandas/_typing.py
Change if_exists argument typing for to_gbq method to literal, added definition in pandas/_typing.py
Change orient argument typing for from_dict method to literal, added definition in pandas/_typing.py
Change how argument typing for to_timestamp method to literal, added definition in pandas/_typing.py
Change validate argument typing for merge and join methods to literal, added definition in pandas/_typing.py
Change na_action arguments typing for applymap method to literal, added definition in pandas/_typing.py
Change join and errors arguments typing for update method to litaral, added definition in pandas/_typing.py
Change keep argument typing for nlargest and nsallest to litaera, added definition in pandas/_typing.py
Specify the kind and na_position more precisely in sort_values, reusing type definitions in pandas/_typing.py
* removing none from literal and adding it to the argument of applymap
* adding reindex literal to super class NDFrame as it violates the Liskov substitution principle otherwise
* adding reindex literal to super class NDFrame as it violates the Liskov substitution principle otherwise
* adding literal to missing.py
* ignore type for orient in from_dict method of frame due to mypy error
* pulling main and resolving merge conflict
---------
Co-authored-by: Patrick Schleiter <[email protected]>
0 commit comments