Skip to content

DOC: Update cheat sheet and create link in docs #20366

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
Mar 16, 2018

Conversation

Dr-Irv
Copy link
Contributor

@Dr-Irv Dr-Irv commented Mar 15, 2018

Update pandas cheat sheet to use drop(columns=['colname']).

Provide link to cheat sheet from the tutorials page.

Based on discussion a while back on gitter with @jorisvandenbossche , maintainers may want the link to the cheat sheet in tutorials.rst to not point to the GitHub repository as I've edited it here, but to a place within the http://pandas.pydata.org/pandas-docs/stable/ tree, which means when you publish the docs, you have to copy the PDF version of the cheat sheet to the server hosting the docs.

@codecov
Copy link

codecov bot commented Mar 16, 2018

Codecov Report

Merging #20366 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #20366      +/-   ##
==========================================
+ Coverage   91.78%   91.79%   +0.01%     
==========================================
  Files         152      152              
  Lines       49196    49183      -13     
==========================================
- Hits        45153    45147       -6     
+ Misses       4043     4036       -7
Flag Coverage Δ
#multiple 90.17% <ø> (+0.01%) ⬆️
#single 41.83% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pandas/util/testing.py 83.74% <0%> (-0.21%) ⬇️
pandas/core/generic.py 95.85% <0%> (-0.01%) ⬇️
pandas/errors/__init__.py 92.3% <0%> (ø) ⬆️
pandas/core/frame.py 97.18% <0%> (ø) ⬆️
pandas/core/series.py 93.84% <0%> (ø) ⬆️
pandas/core/indexes/datetimelike.py 96.72% <0%> (ø) ⬆️
pandas/core/strings.py 98.32% <0%> (ø) ⬆️
pandas/core/reshape/tile.py 93.37% <0%> (ø) ⬆️
pandas/core/indexes/base.py 96.67% <0%> (ø) ⬆️
pandas/core/ops.py 96.35% <0%> (ø) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a044239...00effc2. Read the comment docs.

@TomAugspurger
Copy link
Contributor

@Dr-Irv I uploaded the PPF and PPT from this PR to our webserver

Would you mind updating whatever links you want to point to those?

@jorisvandenbossche do we care about maintaining one of these per release, or just the latest? I think just the latest.

@Dr-Irv
Copy link
Contributor Author

Dr-Irv commented Mar 16, 2018

@TomAugspurger OK, I just pushed a change to point to the PDF. I don't think the PPT should be on the site - it's the "source code".

Will you set something up in the scripts that do releases that copies the cheat sheet from the source directory to the proper location on the server? So then if other changes are made as part of the development process, the final version would get published automatically upon a new release?

@jorisvandenbossche
Copy link
Member

The latest is fine I suppose.
In principle, if we have a scripts that automates this, we could also use pandas.pydata.org/pandas-docs/stable/... as the url, which points to ../version/.. that gets updated at each release, so we keep the older ones available.
But for now just the latest is certainly fine!

@TomAugspurger
Copy link
Contributor

OK, let's just keep latest at the root.

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.

4 participants