-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typing: Narrow down types of arguments (NDFrame) #10
Comments
I'll take the first 5 :) |
I'll take the last 5 :) |
I'll take the 6 to 10 : |
Okay, I'll go with 11-15:
|
I'll go with 16 and 17: |
I'll take 18 to 19: Specify limit_area in interpolate more precisely |
We prefer using
Literal["a"] | Literal["b"]
instead ofstr
. Look into the documentation what is allowed and the narrow the types down appropriately. Generally, we probably already have type definitions inpandas/_typing.py
likeNaPosition
for the first item in the list below.You can locate the appropriate file through searching for
class NDFrame
in the repository (This is the base class for Series and DataFrame).NDFrame methods:
closed
inrolling
more preciselymethod
inexpanding
more preciselymethod
inewm
more preciselyengine
into_excel
more preciselyorient
into_json
more preciselydate_unit
into_json
more preciselyerrors
into_hdf
more preciselymode
into_hdf
more preciselycomplib
into_hdf
more preciselyformat
into_hdf
more preciselymethod
into_sql
more preciselyerrors
into_csv
more preciselymode
into_csv
more preciselykind
andna_position
insort_values
more preciselymethod
inreindex
more preciselymethod
ininterpolate
more preciselylimit_direction
ininterpolate
more preciselylimit_area
ininterpolate
more preciselyhow
inasfreq
more preciselyclosed
inresample
more preciselyconvention
inresample
more preciselykind
inresample
more preciselymethod
inrank
more preciselyna_option
inrank
more preciselyThe text was updated successfully, but these errors were encountered: