Skip to content
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

DOC: df.to_html documentation incorrectly contains min_rows optional param (release note) #44506

Merged
merged 17 commits into from
Nov 19, 2021

Conversation

loicdiridollou
Copy link
Contributor

@@ -212,6 +212,7 @@ Other enhancements
- :meth:`.GroupBy.mean` now supports `Numba <http://numba.pydata.org/>`_ execution with the ``engine`` keyword (:issue:`43731`)
- :meth:`Timestamp.isoformat`, now handles the ``timespec`` argument from the base :class:``datetime`` class (:issue:`26131`)
- :meth:`NaT.to_numpy` ``dtype`` argument is now respected, so ``np.timedelta64`` can be returned (:issue:`44460`)
- Change in the order of the arguments in :meth:`DataFrame.to_string` due to change in the docstring (:issue:`44304`)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should go under Other API changes and mention that min_rows was affected.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are correct! Updated it, waiting for tests to run, surprisingly some workflows either got cancelled or failed for no obvious reasons, will look into it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some tests are breaking but it is not related to my code, have seen these failed in other PRs

FAILED pandas/tests/plotting/test_hist_method.py::TestDataFrameGroupByPlots::test_axis_share_x
FAILED pandas/tests/plotting/test_hist_method.py::TestDataFrameGroupByPlots::test_axis_share_y
FAILED pandas/tests/plotting/test_hist_method.py::TestDataFrameGroupByPlots::test_axis_share_xy
FAILED pandas/tests/plotting/test_series.py::TestSeriesPlots::test_area_sharey_dont_overwrite
FAILED pandas/tests/plotting/frame/test_frame.py::TestDataFramePlots::test_area_sharey_dont_overwrite
FAILED pandas/tests/plotting/frame/test_hist_box_by.py::TestHistWithBy::test_axis_share_x_with_by
FAILED pandas/tests/plotting/frame/test_hist_box_by.py::TestHistWithBy::test_axis_share_y_with_by

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bugs in the CI Docs and web related to #44494, no idea why but all the recent PRs have this error

@mroeschke mroeschke added the IO HTML read_html, to_html, Styler.apply, Styler.applymap label Nov 18, 2021
@mroeschke mroeschke added this to the 1.4 milestone Nov 18, 2021
@loicdiridollou
Copy link
Contributor Author

Mentioning the failed tests in the following issue #44521

@@ -59,7 +59,7 @@ New features

.. ipython:: python

df = DataFrame(np.random.randn(5, 3), columns = ['A','B','C'])
df = pd.DataFrame(np.random.randn(5, 3), columns = ['A','B','C'])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert this change (the CI is having issue unrelated to this PR)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was raising a warning on my machine when building but does not seem to be the case on the builder in GH so reverted

@simonjayhawkins simonjayhawkins merged commit a34ad53 into pandas-dev:master Nov 19, 2021
@simonjayhawkins
Copy link
Member

Thanks @loicdiridollou

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO HTML read_html, to_html, Styler.apply, Styler.applymap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOC: df.to_html documentation incorrectly contains min_rows optional param
3 participants