We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc01d66 commit 5e70e01Copy full SHA for 5e70e01
pandas/core/frame.py
@@ -358,7 +358,7 @@ class DataFrame(NDFrame):
358
"""
359
360
@property
361
- def _constructor(self) -> Type[DataFrame]:
+ def _constructor(self) -> Type['DataFrame']:
362
return DataFrame
363
364
_constructor_sliced = Series # type: Type[Series]
@@ -376,10 +376,10 @@ def _constructor_expanddim(self) -> None:
376
377
def __init__(self,
378
data=None,
379
- index: Index=None,
380
- columns: Index=None,
+ index: Index = None,
+ columns: Index = None,
381
dtype=None,
382
- copy: bool=False) -> None:
+ copy: bool = False) -> None:
383
if data is None:
384
data = {}
385
if dtype is not None:
0 commit comments