Skip to content

Commit 918cc48

Browse files
authored
Fix docstring for to_markdown buf parameter (#31565)
1 parent 119360d commit 918cc48

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pandas/core/generic.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -1922,10 +1922,8 @@ def _repr_data_resource_(self):
19221922
19231923
Parameters
19241924
----------
1925-
buf : writable buffer, defaults to sys.stdout
1926-
Where to send the output. By default, the output is printed to
1927-
sys.stdout. Pass a writable buffer if you need to further process
1928-
the output.
1925+
buf : str, Path or StringIO-like, optional, default None
1926+
Buffer to write to. If None, the output is returned as a string.
19291927
mode : str, optional
19301928
Mode in which file is opened.
19311929
**kwargs

0 commit comments

Comments
 (0)