Skip to content

Commit f5372a7

Browse files
committed
Added newline, info() for empty dataframe
1 parent e08ffd4 commit f5372a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/formats/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ def _fill_empty_info(self) -> None:
812812
"""Add lines to the info table, pertaining to empty dataframe."""
813813
self.add_object_type_line()
814814
self.add_index_range_line()
815-
self._lines.append(f"Empty {type(self.data).__name__}")
815+
self._lines.append(f"Empty {type(self.data).__name__}\n")
816816

817817
@abstractmethod
818818
def _fill_non_empty_info(self) -> None:

0 commit comments

Comments
 (0)