-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
ADMIN: Create separate issue templates for different usecases #33187
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
Changes from 2 commits
c06f29c
1a3b03d
cb13d8e
3956ae1
68a8cbc
61fdf40
fe66538
b9ead18
7f5ae95
7fb0a81
3ac643e
cd4565a
ebbf55e
842f8da
413d30a
8c891f3
9bf7738
d7cbd30
5f9040c
3fb35c4
72ccc0f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,34 @@ | ||
#### Code Sample, a copy-pastable example if possible | ||
--- | ||
name: Bug Report | ||
about: Create a bug report to help us improve pandas | ||
title: "BUG:" | ||
labels: "" | ||
|
||
--- | ||
|
||
#### Code Sample, a copy-pastable example | ||
|
||
```python | ||
# Your code here | ||
|
||
``` | ||
|
||
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IMO, this should go before the |
||
|
||
#### Problem description | ||
|
||
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution.] | ||
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution] | ||
|
||
**Note**: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates! | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As a suggestion. I think we should change these two
More succinct than these sections IMO. Inspired how Numba does their bug reports: numba/numba#4735 |
||
|
||
**Note**: Many problems can be resolved by simply upgrading `pandas` to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check if `master` addresses this issue, but that is not necessary. | ||
|
||
For documentation-related issues, you can check the latest versions of the docs on `master` here: | ||
|
||
https://pandas-docs.github.io/pandas-docs-travis/ | ||
|
||
If the issue has not been resolved there, go ahead and file it in the issue tracker. | ||
|
||
#### Expected Output | ||
|
||
#### Output of ``pd.show_versions()`` | ||
|
||
<details> | ||
|
||
[paste the output of ``pd.show_versions()`` here below this line] | ||
[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] | ||
|
||
</details> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
name: Feature Request | ||
about: Suggest an idea for pandas | ||
title: "ENH:" | ||
labels: "" | ||
|
||
--- | ||
|
||
#### Is your feature request related to a problem? | ||
|
||
[this should provide a description of what the problem is, e.g. "I wish I could use pandas to do [...]"] | ||
|
||
#### Describe the solution you'd like | ||
|
||
[this should provide a description of the feature request, e.g. "`DataFrame.foo` should get a new parameter `bar` that [...]"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've found asking people to "write a docstring" to be helpful in clarifying what people are asking for. |
||
|
||
TomAugspurger marked this conversation as resolved.
Show resolved
Hide resolved
|
||
#### Describe alternatives you've considered | ||
|
||
[this should provide a description of any alternative solutions or features you've considered] | ||
|
||
#### Additional context | ||
|
||
[add any other context, code examples, or references to existing implementations about the feature request here] | ||
|
||
```python | ||
# Your code here, if applicable | ||
|
||
``` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: Submit Question | ||
about: Ask a general question about pandas | ||
title: "QST:" | ||
labels: "" | ||
|
||
--- | ||
|
||
#### Question about pandas | ||
|
||
**Note**: It's highly recommended that you use [StackOverflow](https://www.stackoverflow.com) for any usage related questions, e.g. "How do I do [...] with pandas?" You are much more likely to receive a quick response to your question on StackOverflow than the GitHub issue tracker. You may also want to search the [pandas tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow to see if a similar question has already been asked and answered. | ||
TomAugspurger marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
**Note**: If you'd still like to submit a question, please read [this guide]( | ||
https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your question. | ||
|
||
```python | ||
# Your code here, if applicable | ||
|
||
``` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Documentation Improvment | ||
about: Report wrong or missing documentation | ||
title: "DOC:" | ||
labels: "" | ||
|
||
--- | ||
|
||
#### Location of the documentation | ||
|
||
[this should provide a description of what documentation you believe needs to be fixed/improved] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should also encourage a link to the documentation that they want to see improved. |
||
|
||
**Note**: You can check the latest versions of the docs on `master` [here](https://dev.pandas.io/docs). | ||
|
||
[this should provide a clear and concise description of what you want to happen] | ||
|
||
#### Suggested fix for documentation | ||
|
||
[this should explain the suggested fix and **why** it's better than the existing documentation] | ||
|
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.
I'd say we should use this
label:
feature to automatically tag the issue with the appropriate label. For this templateBug
and similarly for the others.https://i.8713187.xyzmunity/t5/How-to-use-Git-and-GitHub/Apply-labels-automatically-at-issue-creation/td-p/10719#
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.
Just making sure before I make the changes, the labels for each file should look like this:
bug_report: Bug
documentation_improvement: Docs
feature_request: Enhancement?
submit_question: "Usage Question"
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.
I was originally on the fence about automatically adding labels because it could make it harder to distinguish what has been triaged vs. what hasn't, since I currently look for the presence of labels to determine if something has been triaged, and automatically adding labels would make it less clear whether a triage has occurred or not.
A potential workaround here is to also automatically add a new "Needs Triage" label and then remove it as part of the triage process. Or maybe this is only an issue on my part, in which case I can work around it.
Uh oh!
There was an error while loading. Please reload this page.
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.
We don't have a label for feature requests
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.
We typically use the "Enhancement" label for this, so I think what you've proposed above is good.
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.
Yeah, I've seen a couple variants of this: rapidsai/cudf automatically adds a generic "? - Needs Triage" label, scikit-learn/scikit-learn adds a "Bug: triage" just to bug reports.
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.
Numba has a
need triage
label: https://github.com/numba/numba/issues?q=is%3Aissue+is%3Aopen+label%3AneedtriageI'd be in favor in autotagging with
<Bug/Doc/Enhancement/...> + Need Traige
, and thenNeed Triage
can be removed once someone has commented (and can be replace with a more specific label likeIO CSV
for example)I've also been making an effort to tag older issue with one of Bug/Doc/Enhancement/... which will be useful in the future for developing metrics about total number of issues per category.
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.
@mroeschke ATM
Need Triage
label does not exists.Should I wait for it to be created? or just edit this pull request to auto-assign the label
Need Triage
and the label will be created 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.
I went ahead and just created a
Needs Triage
label so it should be available now.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.
Thank you @mroeschke