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

Added the argmin and argmax function expr.py file and series.py file #1496

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

MUKESHRAJMAHENDRAN
Copy link
Contributor

What type of PR is this? (check all applicable)

  • πŸ’Ύ Refactor
  • ✨ Feature
  • [] πŸ› Bug Fix
  • πŸ”§ Optimization
  • πŸ“ Documentation
  • βœ… Test
  • 🐳 Other

Related issues

  • Related issue #<issue number>
  • Closes #<issue number>

Checklist

  • Code follows style guide (ruff)
  • Tests added
  • Documented the changes

If you have comments or can explain your changes, please do so below

Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

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

thanks, this is a good start - could you add a test please?

Comment on lines 22 to 23
- arg_min
- arg_max
Copy link
Member

Choose a reason for hiding this comment

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

these should be sorted alphabetically

@MarcoGorelli
Copy link
Member

hey - i'd suggest reading through https://narwhals-dev.github.io/narwhals/how_it_works/, i get the impression that this PR is involving a lot of guesswork

@MUKESHRAJMAHENDRAN
Copy link
Contributor Author

Thanks, yup Mostly going through the flow thanks for the suggestion i will go through it and try to understand.

@MUKESHRAJMAHENDRAN
Copy link
Contributor Author

Hi, I am going through the code lost myself, please guide me what is the mistake i am doing now, how should i correct it where is the issue. So i can understand the codebase better.

@MarcoGorelli
Copy link
Member

i'd suggest looking at similar functions and understanding how they're implemented

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.

2 participants