File tree 1 file changed +22
-2
lines changed
1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -7497,12 +7497,32 @@ def replace(
7497
7497
7498
7498
def interpolate (
7499
7499
self ,
7500
- method : str = "linear" ,
7500
+ method : Literal [
7501
+ "linear" ,
7502
+ "time" ,
7503
+ "index" ,
7504
+ "values" ,
7505
+ "pad" ,
7506
+ "nearest" ,
7507
+ "zero" ,
7508
+ "slinear" ,
7509
+ "quadratic" ,
7510
+ "cubic" ,
7511
+ "barycentric" ,
7512
+ "polynomial" ,
7513
+ "krogh" ,
7514
+ "piecewise_polynomial" ,
7515
+ "spline" ,
7516
+ "pchip" ,
7517
+ "akima" ,
7518
+ "cubicspline" ,
7519
+ "from_derivatives" ,
7520
+ ] = "linear" ,
7501
7521
* ,
7502
7522
axis : Axis = 0 ,
7503
7523
limit : int | None = None ,
7504
7524
inplace : bool_t = False ,
7505
- limit_direction : str | None = None ,
7525
+ limit_direction : Literal [ "forward" , "backward" , "both" ] | None = None ,
7506
7526
limit_area : str | None = None ,
7507
7527
downcast : str | None = None ,
7508
7528
** kwargs ,
You can’t perform that action at this time.
0 commit comments