Skip to content

DOC: Example missing in pandas.DataFrame.to_html #44945 #54153

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 2 commits into from
Aug 5, 2023

Conversation

vvaidy
Copy link
Contributor

@vvaidy vvaidy commented Jul 16, 2023

Uses the suggestion in the issue report as an example.

@noatamir @phofl SciPy 2023 sprint

@mroeschke mroeschke added the Sprints Sprint Pull Requests label Jul 17, 2023
Copy link
Member

@phofl phofl left a comment

Choose a reason for hiding this comment

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

it looks like this example does not pass the test. Could you run it locally to compare outputs? Potentially with assert?

</tr>
</tbody>
</table>

Copy link
Member

Choose a reason for hiding this comment

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

Can remove that line.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure can, and thanks for your patience as I sort through these processes. Meanwhile, I have two real dumb questions that I hope you can help with ...

  1. I looked but I couldnt see where I can see the diff you pasted abov. Where would I have found that?
  2. I did in fact run the test locally and it appeared to pass. What's the magic incantation so I can run these tests locally before I commit?

OK I lied, I have a third question:
Q3: once I fix appropriately, do I just push into the same branch? I couldnt find a way to generate a new pull request so I assume it automatically knows to rerun the tests on my push, and does it just update the current open pull request?

Thanks again for your patience.

-VV

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, I changed the example slightly to be consistent with another example elsewhere in the pandas code and checked it with ci/code_checks.sh docstrings locally and it seems to pass now. Comments welcome, and thanks again to @phofl and @noatamir for help in getting set up at the SciPy 2023 sprint.

@phofl phofl merged commit 605a8e8 into pandas-dev:main Aug 5, 2023
@phofl
Copy link
Member

phofl commented Aug 5, 2023

thx @vvaidy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sprints Sprint Pull Requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants