-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Solution for 511. #1886
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
Closed
Closed
Solution for 511. #1886
Changes from 23 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
d2b2d65
Solution for 185.
nrhitik bd8bdd1
style: format code and docs with prettier
nrhitik 655ee0f
Solution for 196.
nrhitik bea449f
Merge branch 'main' of https://github.com/nrhitik/leetcode
nrhitik 4f1367d
Update README_EN.md
nrhitik 496e4a8
Update README.md
nrhitik 0795486
Merge branch 'doocs:main' into main
nrhitik ff05136
Solution for 197.
nrhitik ebeaba3
Solution for 262.
nrhitik eb12672
style: format code and docs with prettier
nrhitik 0a9336a
Solution for 319.
nrhitik 0bcf2a0
Merge branch 'doocs:main' into main
nrhitik e92316f
Merge branch 'main' of https://github.com/nrhitik/leetcode
nrhitik 5594e73
Solution for 332.
nrhitik f1b0a03
Merge branch 'doocs:main' into main
nrhitik c689b09
Merge branch 'main' of https://github.com/nrhitik/leetcode
nrhitik df3b19c
Solution for 468.
nrhitik 7f15791
Merge branch 'doocs:main' into main
nrhitik 9b037e3
Solution for 476.
nrhitik 7dd0e49
Solution for 478.
nrhitik 091c52f
Merge branch 'doocs:main' into main
nrhitik 1552bce
Solution for 511.
nrhitik d0411cd
Merge branch 'doocs:main' into main
nrhitik 49bf92b
Solution for 550.
nrhitik a87f495
Merge branch 'main' of https://github.com/nrhitik/leetcode
nrhitik 620c3ff
style: format code and docs with prettier
nrhitik ae18e59
Update README.md
nrhitik 753e41f
Update README_EN.md
nrhitik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import pandas as pd | ||
|
||
|
||
def game_analysis(activity: pd.DataFrame) -> pd.DataFrame: | ||
return ( | ||
activity.groupby("player_id") | ||
.agg(first_login=("event_date", "min")) | ||
.reset_index() | ||
) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pandas -> Pandas