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 066a4f7 commit f4eb0f2Copy full SHA for f4eb0f2
pandas/io/formats/info.py
@@ -1096,7 +1096,7 @@ def headers(self) -> Sequence[str]:
1096
1097
def _gen_rows_without_counts(self) -> Iterator[Sequence[str]]:
1098
"""Iterator with string representation of body data without counts."""
1099
- yield from self._gen_dtypes()
+ yield from ([dtype] for dtype in self._gen_dtypes())
1100
1101
def _gen_rows_with_counts(self) -> Iterator[Sequence[str]]:
1102
"""Iterator with string representation of body data with counts."""
0 commit comments