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

[ENH] generic select function #1187

Merged
merged 13 commits into from
Nov 8, 2022
Merged

[ENH] generic select function #1187

merged 13 commits into from
Nov 8, 2022

Conversation

samukweku
Copy link
Collaborator

@samukweku samukweku commented Nov 1, 2022

PR Description

Please describe the changes proposed in the pull request:

  • Fix blank note output in the docs for select_rows, select_columns
  • generic select function that accepts both rows and columns

This PR resolves #1124 .

PR Checklist

Please ensure that you have done the following:

  1. PR in from a fork off your branch. Do not PR from <your_username>:dev, but rather from <your_username>:<feature-branch_name>.
  1. If you're not on the contributors list, add yourself to AUTHORS.md.
  1. Add a line to CHANGELOG.md under the latest version header (i.e. the one that is "on deck") describing the contribution.
    • Do use some discretion here; if there are multiple PRs that are related, keep them in a single line.

Automatic checks

There will be automatic checks run on the PR. These include:

  • Building a preview of the docs on Netlify
  • Automatically linting the code
  • Making sure the code is documented
  • Making sure that all tests are passed
  • Making sure that code coverage doesn't go down.

Relevant Reviewers

Please tag maintainers to review.

@ericmjl
Copy link
Member

ericmjl commented Nov 1, 2022

@codecov
Copy link

codecov bot commented Nov 1, 2022

Codecov Report

Merging #1187 (78620cb) into dev (fe9fa5a) will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev    #1187      +/-   ##
==========================================
+ Coverage   97.63%   97.72%   +0.08%     
==========================================
  Files          76       76              
  Lines        3474     3514      +40     
==========================================
+ Hits         3392     3434      +42     
+ Misses         82       80       -2     

@Zeroto521
Copy link
Member

Zeroto521 commented Nov 2, 2022

Hi, I thought we could add some marks to notify users that select_* methods are new coming.
Details see #1188

@Zeroto521
Copy link
Member

The codecov is decreasing.
Let's merge the dev branch new changes (#1185).
See codecov whether could back to normal.

@samukweku samukweku changed the title [DOC] Fix blank note [ENH] generic select function Nov 3, 2022
Copy link
Member

@ericmjl ericmjl left a comment

Choose a reason for hiding this comment

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

Re-approving!

@ericmjl
Copy link
Member

ericmjl commented Nov 8, 2022

Okie dokes, I think we should merge. The PR has been open long enough!

@ericmjl ericmjl merged commit fa4ad4a into dev Nov 8, 2022
samukweku added a commit that referenced this pull request Nov 28, 2022
* fix blank note output

* return whatever user passes, even if they r duplicates

* add DropLabel for dropping columns

* generic select with tests

* update test_select.py

* update changelog

* update docs in select

* add version notifications

* update docs for DropLabel class

* update admonition

* ensure booleans are converted into arrays
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

replicate select_columns on the index
3 participants