Skip to content

Commit d839311

Browse files
Marco GorelliMarcoGorelli
authored andcommitted
📝 add tabulate to install.rst and _optional, capitalise Markdown
1 parent 841d53f commit d839311

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

doc/source/getting_started/install.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ pyreadstat SPSS files (.sav) reading
264264
pytables 3.4.2 HDF5 reading / writing
265265
qtpy Clipboard I/O
266266
s3fs 0.3.0 Amazon S3 access
267+
tabulate 0.8.0 Printing DataFrames and Series in Markdown-friendly format
267268
xarray 0.8.2 pandas-like API for N-dimensional data
268269
xclip Clipboard I/O on linux
269270
xlrd 1.1.0 Excel reading

pandas/compat/_optional.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"scipy": "0.19.0",
2424
"sqlalchemy": "1.1.4",
2525
"tables": "3.4.2",
26+
"tabulate": "0.8.0",
2627
"xarray": "0.8.2",
2728
"xlrd": "1.1.0",
2829
"xlwt": "1.2.0",

pandas/core/frame.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1973,14 +1973,14 @@ def to_markdown(
19731973
**kwargs,
19741974
) -> None:
19751975
"""
1976-
Print a DataFrame in markdown-friendly format.
1976+
Print a DataFrame in Markdown-friendly format.
19771977
19781978
.. versionadded:: 1.0
19791979
19801980
Returns
19811981
-------
19821982
str
1983-
DataFrame in markdown-friendly format.
1983+
DataFrame in Markdown-friendly format.
19841984
19851985
Examples
19861986
--------

pandas/core/series.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,14 +1442,14 @@ def to_markdown(
14421442
**kwargs,
14431443
) -> str:
14441444
"""
1445-
Print a Series in markdown-friendly format.
1445+
Print a Series in Markdown-friendly format.
14461446
14471447
.. versionadded:: 1.0
14481448
14491449
Returns
14501450
-------
14511451
str
1452-
Series in markdown-friendly format.
1452+
Series in Markdown-friendly format.
14531453
14541454
Examples
14551455
--------

0 commit comments

Comments
 (0)