Skip to content

Commit 40b65da

Browse files
Eyal TrabelsiMarcoGorelli
Eyal Trabelsi
andauthored
DOC: Update dependency for to_markdown documentation (#36938)
* Update to_markdown documentation Adding to the documentation that tabulate is required for to_markdown to be executed * Move the optional dependency to a note * Update series.py * Update series.py * Update pandas/core/series.py Co-authored-by: Marco Gorelli <[email protected]> Co-authored-by: Marco Gorelli <[email protected]>
1 parent dcba608 commit 40b65da

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/core/series.py

+4
Original file line numberDiff line numberDiff line change
@@ -1472,6 +1472,10 @@ def to_markdown(
14721472
str
14731473
{klass} in Markdown-friendly format.
14741474
1475+
Notes
1476+
-----
1477+
Requires the `tabulate <https://pypi.org/project/tabulate>`_ package.
1478+
14751479
Examples
14761480
--------
14771481
>>> s = pd.Series(["elk", "pig", "dog", "quetzal"], name="animal")

0 commit comments

Comments
 (0)