Skip to content

Commit 77376b7

Browse files
committed
Some simple doc string changes
1 parent 7d44e3f commit 77376b7

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

pandas/core/frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ def _can_fast_transpose(self) -> bool:
848848

849849
dtype = blocks[0].dtype
850850
# TODO(EA2D) special case would be unnecessary with 2D EAs
851-
return not is_1d_only_ea_dtype(dtype)
851+
return not is_1d_only_ea_dtype(dtype)
852852

853853
# ----------------------------------------------------------------------
854854
# Rendering Methods

pandas/tests/indexes/common.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232

3333

3434
class Base:
35-
""" base class for index sub-class tests """
35+
"""
36+
Base class for index sub-class tests.
37+
"""
3638

3739
_index_cls: Type[Index]
3840

@@ -766,7 +768,9 @@ def test_index_groupby(self, simple_index):
766768

767769

768770
class NumericBase(Base):
769-
""" base class for numeric index (incl. RangeIndex) sub-class tests """
771+
"""
772+
Base class for numeric index (incl. RangeIndex) sub-class tests.
773+
"""
770774

771775
def test_where(self):
772776
# Tested in numeric.test_indexing

0 commit comments

Comments
 (0)