@@ -455,29 +455,15 @@ class DataFrame(NDFrame, OpsMixin, _GetItemHack):
455
455
into : type [dict ] = ...,
456
456
index : bool = ...,
457
457
) -> dict [Hashable , Any ]: ...
458
- def to_gbq (
459
- self ,
460
- destination_table : str ,
461
- project_id : str | None = ...,
462
- chunksize : int | None = ...,
463
- reauth : bool = False ,
464
- if_exists : Literal ["fail" , "replace" , "append" ] = "fail" ,
465
- auth_local_webserver : bool = True ,
466
- table_schema : list [dict [str , str ]] | None = ...,
467
- location : str | None = ...,
468
- progress_bar : bool = True ,
469
- # Google type, not available
470
- credentials : Any = ...,
471
- ) -> None : ...
472
458
@classmethod
473
459
def from_records (
474
460
cls ,
475
461
data ,
476
462
index = ...,
477
- exclude = None ,
478
- columns = None ,
479
- coerce_float = False ,
480
- nrows = None ,
463
+ exclude : Sequence [ str ] | None = None ,
464
+ columns : Sequence [ str ] | None = None ,
465
+ coerce_float : bool = False ,
466
+ nrows : int | None = None ,
481
467
) -> Self : ...
482
468
def to_records (
483
469
self ,
@@ -1321,7 +1307,7 @@ class DataFrame(NDFrame, OpsMixin, _GetItemHack):
1321
1307
margins : _bool = False ,
1322
1308
dropna : _bool = True ,
1323
1309
margins_name : _str = "All" ,
1324
- observed : _bool = False ,
1310
+ observed : _bool = True ,
1325
1311
sort : _bool = True ,
1326
1312
) -> Self : ...
1327
1313
@overload
@@ -1338,7 +1324,7 @@ class DataFrame(NDFrame, OpsMixin, _GetItemHack):
1338
1324
def unstack (
1339
1325
self ,
1340
1326
level : IndexLabel = - 1 ,
1341
- fill_value : Scalar | None = ... ,
1327
+ fill_value : Scalar | None = None ,
1342
1328
sort : _bool = True ,
1343
1329
) -> Self | Series : ...
1344
1330
def melt (
@@ -1560,20 +1546,20 @@ class DataFrame(NDFrame, OpsMixin, _GetItemHack):
1560
1546
suffixes : Suffixes = ...,
1561
1547
copy : _bool = True ,
1562
1548
indicator : _bool | _str = False ,
1563
- validate : MergeValidate | None = ... ,
1549
+ validate : MergeValidate | None = None ,
1564
1550
) -> Self : ...
1565
1551
def round (
1566
1552
self , decimals : int | dict | Series = ..., * args : Any , ** kwargs : Any
1567
1553
) -> Self : ...
1568
1554
def corr (
1569
1555
self ,
1570
- method : Literal ["pearson" , "kendall" , "spearman" ] = ... ,
1556
+ method : Literal ["pearson" , "kendall" , "spearman" ] = "pearson" ,
1571
1557
min_periods : int = ...,
1572
1558
numeric_only : _bool = False ,
1573
1559
) -> Self : ...
1574
1560
def cov (
1575
1561
self ,
1576
- min_periods : int | None = ... ,
1562
+ min_periods : int | None = None ,
1577
1563
ddof : int = 1 ,
1578
1564
numeric_only : _bool = False ,
1579
1565
) -> Self : ...
@@ -1639,7 +1625,7 @@ class DataFrame(NDFrame, OpsMixin, _GetItemHack):
1639
1625
) -> Self : ...
1640
1626
def to_period (
1641
1627
self ,
1642
- freq : _str | None = ... ,
1628
+ freq : _str | None = None ,
1643
1629
axis : Axis = 0 ,
1644
1630
copy : _bool = True ,
1645
1631
) -> Self : ...
@@ -1790,7 +1776,7 @@ class DataFrame(NDFrame, OpsMixin, _GetItemHack):
1790
1776
def at_time (
1791
1777
self ,
1792
1778
time : _str | dt .time ,
1793
- asof : _bool = ... ,
1779
+ asof : _bool = False ,
1794
1780
axis : Axis | None = 0 ,
1795
1781
) -> Self : ...
1796
1782
@final
@@ -1892,28 +1878,28 @@ class DataFrame(NDFrame, OpsMixin, _GetItemHack):
1892
1878
def copy (self , deep : _bool = True ) -> Self : ...
1893
1879
def cummax (
1894
1880
self ,
1895
- axis : Axis | None = 0 ,
1881
+ axis : Axis | None = None ,
1896
1882
skipna : _bool = True ,
1897
1883
* args : Any ,
1898
1884
** kwargs : Any ,
1899
1885
) -> Self : ...
1900
1886
def cummin (
1901
1887
self ,
1902
- axis : Axis | None = 0 ,
1888
+ axis : Axis | None = None ,
1903
1889
skipna : _bool = True ,
1904
1890
* args : Any ,
1905
1891
** kwargs : Any ,
1906
1892
) -> Self : ...
1907
1893
def cumprod (
1908
1894
self ,
1909
- axis : Axis | None = 0 ,
1895
+ axis : Axis | None = None ,
1910
1896
skipna : _bool = True ,
1911
1897
* args : Any ,
1912
1898
** kwargs : Any ,
1913
1899
) -> Self : ...
1914
1900
def cumsum (
1915
1901
self ,
1916
- axis : Axis | None = 0 ,
1902
+ axis : Axis | None = None ,
1917
1903
skipna : _bool = True ,
1918
1904
* args : Any ,
1919
1905
** kwargs : Any ,
@@ -1999,8 +1985,6 @@ class DataFrame(NDFrame, OpsMixin, _GetItemHack):
1999
1985
level : Level | None = ...,
2000
1986
fill_value : float | None = None ,
2001
1987
) -> Self : ...
2002
- # def from_dict
2003
- # def from_records
2004
1988
def ge (self , other , axis : Axis = "columns" , level : Level | None = ...) -> Self : ...
2005
1989
@overload
2006
1990
def get (self , key : Hashable , default : None = ...) -> Series | None : ...
@@ -2015,7 +1999,6 @@ class DataFrame(NDFrame, OpsMixin, _GetItemHack):
2015
1999
def head (self , n : int = 5 ) -> Self : ...
2016
2000
@final
2017
2001
def infer_objects (self ) -> Self : ...
2018
- # def info
2019
2002
@overload
2020
2003
def interpolate (
2021
2004
self ,
0 commit comments