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: Adding some common functionalities #61133

Closed
1 of 3 tasks
maddytae opened this issue Mar 16, 2025 · 2 comments
Closed
1 of 3 tasks

ENH: Adding some common functionalities #61133

maddytae opened this issue Mar 16, 2025 · 2 comments
Labels
Enhancement Needs Triage Issue that has not been reviewed by a pandas team member

Comments

@maddytae
Copy link

Feature Type

  • Adding new functionality to pandas

  • Changing existing functionality in pandas

  • Removing existing functionality in pandas

Problem Description

Some feature suggestions.

  1. Pandas Plotting: Method chaining in plotting would make it really powerful.
    sample:- https://github.com/maddytae/pytae/blob/master/src/plotter.ipynb
  2. Select: Native R like select function in pandas would make method chaining much more easier.
    sample:-https://github.com/maddytae/pytae/blob/master/src/select.ipynb
  3. qry:- A dict based filtering criteria.
    sample:- https://github.com/maddytae/pytae/blob/master/src/qry.ipynb
  4. reshaping: More intuitive reshaping.
    sample:- https://github.com/maddytae/pytae/blob/master/src/shape.ipynb
  5. aggregation: easy aggregation.
    sample:- https://github.com/maddytae/pytae/blob/master/src/agg_df.ipynb
  6. Other utilities: Some minor useful functions.
    sample:- https://github.com/maddytae/pytae/blob/master/src/other_utilities.ipynb

Feature Description

Sample implementation:-

  1. https://github.com/maddytae/pytae/blob/master/src/pytae/plotting.py
  2. https://github.com/maddytae/pytae/blob/master/src/pytae/select.py
  3. https://github.com/maddytae/pytae/blob/master/src/pytae/qry.py
  4. https://github.com/maddytae/pytae/blob/master/src/pytae/shape.py
  5. https://github.com/maddytae/pytae/blob/master/src/agg_df.ipynb
  6. https://github.com/maddytae/pytae/blob/master/src/pytae/other_utilities.py

Alternative Solutions

https://pypi.org/project/pytae/

Additional Context

Apologies for not following conventions. I am still learning and have little experiencing contributing to open source. I have also leveraged llms for some of the codes but again I am hopeful the ideas I have share others will find some of it useful.

@maddytae maddytae added Enhancement Needs Triage Issue that has not been reviewed by a pandas team member labels Mar 16, 2025
@Delengowski
Copy link
Contributor

How is 2 a benefit over __getitem __?

3 I see little value as its all doable by by query

4 there's plenty of methods for convert from wide to long

5 how is that different than you can currently do with agg currently?

@mroeschke
Copy link
Member

Thanks for the suggestions but I would be -1 on including any of these in pandas as is. IMO these functionalities are similar to what already exists in pandas. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Needs Triage Issue that has not been reviewed by a pandas team member
Projects
None yet
Development

No branches or pull requests

3 participants