Skip to content

Make various minor corrections to cheatsheet #16136

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
Apr 27, 2017

Conversation

jbwhit
Copy link
Contributor

@jbwhit jbwhit commented Apr 25, 2017

Changes made:

  • Fixed SubHeading Make New Variables to Make New Columns -- because these operations create new columns.
  • Fixed # of distinct values in a column to use the pandas method .nunique() rather than len(df['w'].unique()).
  • For clarity, renamed the Length column selection to w under the Summarize Data -- can see this being misleading to someone thinking that to get "Count number of rows with each value of the variable" they might need to call Length.
  • For legibility/clarity removed the times that the example df was renamed (instances of df=df.dropna()); we should perhaps make a higher-level note that all of these operations are by default not done inplace, and either need to reassign or inplace=True.

Updated .pptx and .pdf

@codecov
Copy link

codecov bot commented Apr 25, 2017

Codecov Report

Merging #16136 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #16136      +/-   ##
==========================================
- Coverage   90.86%   90.83%   -0.03%     
==========================================
  Files         159      159              
  Lines       50773    50773              
==========================================
- Hits        46134    46122      -12     
- Misses       4639     4651      +12
Flag Coverage Δ
#multiple 88.61% <ø> (-0.03%) ⬇️
#single 40.33% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pandas/plotting/_converter.py 63.54% <0%> (-1.82%) ⬇️

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 186957e...aaa04f3. Read the comment docs.

@codecov
Copy link

codecov bot commented Apr 25, 2017

Codecov Report

Merging #16136 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #16136      +/-   ##
==========================================
- Coverage   90.86%   90.83%   -0.03%     
==========================================
  Files         159      159              
  Lines       50773    50773              
==========================================
- Hits        46134    46122      -12     
- Misses       4639     4651      +12
Flag Coverage Δ
#multiple 88.61% <ø> (-0.03%) ⬇️
#single 40.33% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pandas/plotting/_converter.py 63.54% <0%> (-1.82%) ⬇️

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 186957e...aaa04f3. Read the comment docs.

@jreback jreback added the Docs label Apr 27, 2017
@jreback
Copy link
Contributor

jreback commented Apr 27, 2017

lgtm. @jorisvandenbossche

@jreback jreback added this to the 0.20.0 milestone Apr 27, 2017
@jorisvandenbossche jorisvandenbossche merged commit 5a04376 into pandas-dev:master Apr 27, 2017
@jorisvandenbossche
Copy link
Member

@jbwhit thanks!

pcluo pushed a commit to pcluo/pandas that referenced this pull request May 22, 2017
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.

3 participants