Skip to content

Commit 5e70e01

Browse files
committed
fix flake errors
1 parent bc01d66 commit 5e70e01

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/frame.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ class DataFrame(NDFrame):
358358
"""
359359

360360
@property
361-
def _constructor(self) -> Type[DataFrame]:
361+
def _constructor(self) -> Type['DataFrame']:
362362
return DataFrame
363363

364364
_constructor_sliced = Series # type: Type[Series]
@@ -376,10 +376,10 @@ def _constructor_expanddim(self) -> None:
376376

377377
def __init__(self,
378378
data=None,
379-
index: Index=None,
380-
columns: Index=None,
379+
index: Index = None,
380+
columns: Index = None,
381381
dtype=None,
382-
copy: bool=False) -> None:
382+
copy: bool = False) -> None:
383383
if data is None:
384384
data = {}
385385
if dtype is not None:

0 commit comments

Comments
 (0)