forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'pandas-dev:main' into master
- Loading branch information
Showing
1,402 changed files
with
76,787 additions
and
57,638 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 was deleted.
Oops, something went wrong.
This file contains 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,72 @@ | ||
name: Feature Request | ||
description: Suggest an idea for pandas | ||
title: "ENH: " | ||
labels: [Enhancement, Needs Triage] | ||
|
||
body: | ||
- type: checkboxes | ||
id: checks | ||
attributes: | ||
label: Feature Type | ||
description: Please check what type of feature request you would like to propose. | ||
options: | ||
- label: > | ||
Adding new functionality to pandas | ||
- label: > | ||
Changing existing functionality in pandas | ||
- label: > | ||
Removing existing functionality in pandas | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Problem Description | ||
description: > | ||
Please describe what problem the feature would solve, e.g. "I wish I could use pandas to ..." | ||
placeholder: > | ||
I wish I could use pandas to return a Series from a DataFrame when possible. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: feature | ||
attributes: | ||
label: Feature Description | ||
description: > | ||
Please describe how the new feature would be implemented, using psudocode if relevant. | ||
placeholder: > | ||
Add a new parameter to DataFrame, to_series, to return a Series if possible. | ||
def __init__(self, ..., to_series: bool=False): | ||
""" | ||
Parameters | ||
---------- | ||
... | ||
to_series : bool, default False | ||
Return a Series if possible | ||
""" | ||
if to_series: | ||
return Series(data) | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: alternative | ||
attributes: | ||
label: Alternative Solutions | ||
description: > | ||
Please describe any alternative solution (existing functionality, 3rd party package, etc.) | ||
that would satisfy the feature request. | ||
placeholder: > | ||
Write a custom function to return a Series when possible. | ||
def to_series(...) | ||
result = pd.DataFrame(...) | ||
... | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: context | ||
attributes: | ||
label: Additional Context | ||
description: > | ||
Please provide any relevant GitHub issues, code examples or references that help describe and support | ||
the feature request. |
This file contains 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 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 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 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
Oops, something went wrong.