Skip to content

DOC: create shared includes for comparison docs, take III #38887

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 1 commit into from
Jan 3, 2021

Conversation

afeld
Copy link
Member

@afeld afeld commented Jan 1, 2021

From original pull request (#38771):

This will help ensure consistency between the examples.

  • closes #xxxx
  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

doc/source/development/contributing_docstring.rst,
# work around issue of undefined variable warnings
# https://github.com/pandas-dev/pandas/pull/38837#issuecomment-752884156
doc/source/getting_started/comparison/includes/*.rst
Copy link
Member Author

Choose a reason for hiding this comment

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

Per suggestion in #38837 (comment).

@@ -0,0 +1,12 @@
The same operation in pandas can be accomplished using
Copy link
Contributor

Choose a reason for hiding this comment

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

are any of these shared across compraisons? its not big deal, but you can simply re-use them.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry, what do you mean by "these"?

Copy link
Contributor

Choose a reason for hiding this comment

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

oh it looks like you are doing what i thought (e.g. putting includes in a common location) and then using for comparison_excel/sas/r etc. which is great.

so nvm

@jreback jreback added the Docs label Jan 1, 2021
@afeld
Copy link
Member Author

afeld commented Jan 2, 2021

Tests pass! 🎉

@MarcoGorelli MarcoGorelli self-requested a review January 3, 2021 09:35
This will help ensure consistency between the examples.
@afeld afeld force-pushed the comparison-includes-C branch from 9710efc to fed55a0 Compare January 3, 2021 15:19
@jreback jreback added this to the 1.3 milestone Jan 3, 2021
@jreback jreback merged commit 28b938d into pandas-dev:master Jan 3, 2021
@jreback
Copy link
Contributor

jreback commented Jan 3, 2021

thanks @afeld

pls have a look at the built docs and issue a followup PR if needed.

OT: pls comment on your open PRs / merge master for them to see what we need to merge (IIRC some were WIP)

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

Successfully merging this pull request may close these issues.

2 participants