8000 [ENH] Add to_markdown method by MarcoGorelli · Pull Request #30350 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

[ENH] Add to_markdown method #30350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
Dec 27, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
16a3328
:sparkles: Add to_markdown method
Dec 19, 2019
8eb96ec
:pushpin: put tabulate in #optional for io, pin dependency
Dec 20, 2019
00fd8a4
:recycle: remove call to DataFrame.pipe in DataFrame.to_markdown
Dec 20, 2019
65e9f1b
:pushpin: add tabulate to travis-38.yaml
Dec 20, 2019
a273560
:pencil: add DataFrame.to_markdown to API reference file
Dec 20, 2019
14e36e8
:sparkles: add **kwargs to DataFrame.to_markdown
Dec 20, 2019
ee07c68
:white_check_mark: update tests so they work with **kwargs, set skip_…
Dec 20, 2019
d99a54f
:sparkles: add to_markdown to Series
Dec 20, 2019
57dfb7b
:pencil: document to_markdown in Series API reference
Dec 20, 2019
ccb132b
:white_check_mark: update tests so they test Series.to_markdown as well
Dec 20, 2019
bac632e
:arrow_down: Set tabulate dependency at 0.8, before which tests fail
Dec 20, 2019
557e6dd
:pencil: update failing docstring
Dec 20, 2019
01260f2
:pushpin: set tabulate dependency at 0.8.0, not 0.8
Dec 20, 2019
b32d54d
:sparkles: add buf and mode arguments to to_markdown
Dec 20, 2019
8000 68e84d6
:white_check_mark: update tests so they use buf
Dec 20, 2019
882768b
:fire: remove skip_if_no_tabulate, due to module-level fixture
Dec 20, 2019
f46edb1
:pencil: add tabulate to install.rst and _optional, capitalise Markdown
Dec 20, 2019
32d8762
:push_pin: add tabulate unpinned to travis-37.yaml
Dec 20, 2019
c5c3768
:bug: dont all get_filepath_or_buffer with buf equal to sys.stdout
MarcoGorelli Dec 21, 2019
df7880c
:ok_hand: return string if buf is set to None, use shared doc, change…
MarcoGorelli Dec 21, 2019
039e6a9
:pushpin: pin tabulate at 0.8.3
MarcoGorelli Dec 21, 2019
093d63a
:pencil: add kwargs to parameters
Dec 23, 2019
ec77816
:pencil: link to tabulate docs in install.rst
MarcoGorelli Dec 27, 2019
32650f7
:pencil: fix merge conflict in whatsnew
Dec 27, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
📌 pin tabulate at 0.8.3
  • Loading branch information
MarcoGorelli authored and Marco Gorelli committed Dec 27, 2019
commit 039e6a9f6e83f69e6282b7617d34059e2e950590
2 changes: 1 addition & 1 deletion ci/deps/travis-38.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ dependencies:
- nomkl
- pytz
- pip
- tabulate==0.8.0
- tabulate==0.8.3
2 changes: 1 addition & 1 deletion doc/source/getting_started/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ pyreadstat SPSS files (.sav) reading
pytables 3.4.2 HDF5 reading / writing
qtpy Clipboard I/O
s3fs 0.3.0 Amazon S3 access
tabulate 0.8.0 Printing DataFrames and Series in Markdown-friendly format
tabulate 0.8.3 Printing DataFrames and Series in Markdown-friendly format
xarray 0.8.2 pandas-like API for N-dimensional data
xclip Clipboard I/O on linux
xlrd 1.1.0 Excel reading
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ dependencies:
- sqlalchemy # pandas.read_sql, DataFrame.to_sql
- xarray # DataFrame.to_xarray
- pyreadstat # pandas.read_spss
- tabulate>=0.8.0 # DataFrame.to_markdown
- tabulate>=0.8.3 # DataFrame.to_markdown
- pip:
- git+https://github.com/pandas-dev/pandas-sphinx-theme.git@master
2 changes: 1 addition & 1 deletion pandas/compat/_optional.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"scipy": "0.19.0",
"sqlalchemy": "1.1.4",
"tables": "3.4.2",
"tabulate": "0.8.0",
"tabulate": "0.8.3",
"xarray": "0.8.2",
"xlrd": "1.1.0",
"xlwt": "1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ s3fs
sqlalchemy
xarray
pyreadstat
tabulate>=0.8.0
tabulate>=0.8.3
git+https://github.com/pandas-dev/pandas-sphinx-theme.git@master
0