Skip to content

Commit 3198379

Browse files
kirisakowKiril Isakov
authored and
Kiril Isakov
committed
[minor edit] fix typo: psudocode -> pseudocode
0 parents  commit 3198379

File tree

2,623 files changed

+859250
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,623 files changed

+859250
-0
lines changed

.devcontainer.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or the definition README at
2+
// https://github.com/microsoft/vscode-dev-containers/tree/master/containers/python-3-miniconda
3+
{
4+
"name": "pandas",
5+
"context": ".",
6+
"dockerFile": "Dockerfile",
7+
8+
// Use 'settings' to set *default* container specific settings.json values on container create.
9+
// You can edit these settings after create using File > Preferences > Settings > Remote.
10+
"settings": {
11+
"python.pythonPath": "/usr/local/bin/python",
12+
"python.formatting.provider": "black",
13+
"python.linting.enabled": true,
14+
"python.linting.flake8Enabled": true,
15+
"python.linting.pylintEnabled": false,
16+
"python.linting.mypyEnabled": true,
17+
"python.testing.pytestEnabled": true,
18+
"python.testing.pytestArgs": [
19+
"pandas"
20+
]
21+
},
22+
23+
// Add the IDs of extensions you want installed when the container is created in the array below.
24+
"extensions": [
25+
"ms-python.python",
26+
"ms-vscode.cpptools"
27+
]
28+
}

.gitattributes

+88
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
* text=auto
2+
# enforce text on certain files
3+
*.py text
4+
*.pyx text
5+
*.pyd text
6+
*.c text
7+
*.h text
8+
*.html text
9+
*.csv text
10+
*.json text
11+
*.pickle binary
12+
*.h5 binary
13+
*.dta binary
14+
*.xls binary
15+
*.xlsx binary
16+
pandas/_version.py export-subst
17+
18+
19+
*.bz2 export-ignore
20+
*.csv export-ignore
21+
*.data export-ignore
22+
*.dta export-ignore
23+
*.feather export-ignore
24+
*.tar export-ignore
25+
*.gz export-ignore
26+
*.h5 export-ignore
27+
*.html export-ignore
28+
*.json export-ignore
29+
*.jsonl export-ignore
30+
*.kml export-ignore
31+
*.msgpack export-ignore
32+
*.pdf export-ignore
33+
*.parquet export-ignore
34+
*.pickle export-ignore
35+
*.pkl export-ignore
36+
*.png export-ignore
37+
*.pptx export-ignore
38+
*.ods export-ignore
39+
*.odt export-ignore
40+
*.orc export-ignore
41+
*.sas7bdat export-ignore
42+
*.sav export-ignore
43+
*.so export-ignore
44+
*.txt export-ignore
45+
*.xls export-ignore
46+
*.xlsb export-ignore
47+
*.xlsm export-ignore
48+
*.xlsx export-ignore
49+
*.xpt export-ignore
50+
*.cpt export-ignore
51+
*.xml export-ignore
52+
*.xsl export-ignore
53+
*.xz export-ignore
54+
*.zip export-ignore
55+
*.zst export-ignore
56+
*~ export-ignore
57+
.DS_Store export-ignore
58+
.git* export-ignore
59+
60+
*.py[ocd] export-ignore
61+
*.pxi export-ignore
62+
63+
# Ignoring stuff from the top level
64+
.github export-ignore
65+
asv_bench export-ignore
66+
ci export-ignore
67+
doc export-ignore
68+
gitpod export-ignore
69+
MANIFEST.in export-ignore
70+
scripts/** export-ignore
71+
typings export-ignore
72+
web export-ignore
73+
CITATION.cff export-ignore
74+
codecov.yml export-ignore
75+
Dockerfile export-ignore
76+
environment.yml export-ignore
77+
setup.py export-ignore
78+
79+
80+
# GH 39321
81+
# csv_dir_path fixture checks the existence of the directory
82+
# exclude the whole directory to avoid running related tests in sdist
83+
pandas/tests/io/parser/data export-ignore
84+
85+
# Include cibw script in sdist since it's needed for building wheels
86+
scripts/cibw_before_build.sh -export-ignore
87+
scripts/cibw_before_build_windows.sh -export-ignore
88+
scripts/cibw_before_test_windows.sh -export-ignore

.github/CODEOWNERS

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# github
2+
.github/ @mroeschke
3+
4+
# ci
5+
ci/ @mroeschke
6+
7+
# docs
8+
doc/cheatsheet @Dr-Irv
9+
doc/source/development @noatamir
10+
11+
# pandas
12+
pandas/_libs/ @WillAyd
13+
pandas/_typing.py @Dr-Irv
14+
pandas/core/groupby/* @rhshadrach
15+
pandas/io/excel/* @rhshadrach
16+
pandas/io/formats/style.py @attack68
17+
pandas/io/formats/style_render.py @attack68
18+
pandas/io/formats/templates @attack68
+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: Bug Report
2+
description: Report incorrect behavior in the pandas library
3+
title: "BUG: "
4+
labels: [Bug, Needs Triage]
5+
6+
body:
7+
- type: checkboxes
8+
id: checks
9+
attributes:
10+
label: Pandas version checks
11+
options:
12+
- label: >
13+
I have checked that this issue has not already been reported.
14+
required: true
15+
- label: >
16+
I have confirmed this bug exists on the
17+
[latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
18+
required: true
19+
- label: >
20+
I have confirmed this bug exists on the
21+
[main branch](https://pandas.pydata.org/docs/dev/getting_started/install.html#installing-the-development-version-of-pandas)
22+
of pandas.
23+
- type: textarea
24+
id: example
25+
attributes:
26+
label: Reproducible Example
27+
description: >
28+
Please follow [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) on how to
29+
provide a minimal, copy-pastable example.
30+
placeholder: >
31+
import pandas as pd
32+
33+
df = pd.DataFrame(range(5))
34+
35+
...
36+
render: python
37+
validations:
38+
required: true
39+
- type: textarea
40+
id: problem
41+
attributes:
42+
label: Issue Description
43+
description: >
44+
Please provide a description of the issue shown in the reproducible example.
45+
validations:
46+
required: true
47+
- type: textarea
48+
id: expected-behavior
49+
attributes:
50+
label: Expected Behavior
51+
description: >
52+
Please describe or show a code example of the expected behavior.
53+
validations:
54+
required: true
55+
- type: textarea
56+
id: version
57+
attributes:
58+
label: Installed Versions
59+
description: >
60+
Please paste the output of ``pd.show_versions()``
61+
value: >
62+
<details>
63+
64+
65+
Replace this line with the output of pd.show_versions()
66+
67+
68+
</details>
69+
validations:
70+
required: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Documentation Improvement
2+
description: Report wrong or missing documentation
3+
title: "DOC: "
4+
labels: [Docs, Needs Triage]
5+
6+
body:
7+
- type: checkboxes
8+
attributes:
9+
label: Pandas version checks
10+
options:
11+
- label: >
12+
I have checked that the issue still exists on the latest versions of the docs
13+
on `main` [here](https://pandas.pydata.org/docs/dev/)
14+
required: true
15+
- type: textarea
16+
id: location
17+
attributes:
18+
label: Location of the documentation
19+
description: >
20+
Please provide the location of the documentation, e.g. "pandas.read_csv" or the
21+
URL of the documentation, e.g.
22+
"https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html"
23+
placeholder: https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: problem
28+
attributes:
29+
label: Documentation problem
30+
description: >
31+
Please provide a description of what documentation you believe needs to be fixed/improved
32+
validations:
33+
required: true
34+
- type: textarea
35+
id: suggested-fix
36+
attributes:
37+
label: Suggested fix for documentation
38+
description: >
39+
Please explain the suggested fix and **why** it's better than the existing documentation
40+
validations:
41+
required: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name: Feature Request
2+
description: Suggest an idea for pandas
3+
title: "ENH: "
4+
labels: [Enhancement, Needs Triage]
5+
6+
body:
7+
- type: checkboxes
8+
id: checks
9+
attributes:
10+
label: Feature Type
11+
description: Please check what type of feature request you would like to propose.
12+
options:
13+
- label: >
14+
Adding new functionality to pandas
15+
- label: >
16+
Changing existing functionality in pandas
17+
- label: >
18+
Removing existing functionality in pandas
19+
- type: textarea
20+
id: description
21+
attributes:
22+
label: Problem Description
23+
description: >
24+
Please describe what problem the feature would solve, e.g. "I wish I could use pandas to ..."
25+
placeholder: >
26+
I wish I could use pandas to return a Series from a DataFrame when possible.
27+
validations:
28+
required: true
29+
- type: textarea
30+
id: feature
31+
attributes:
32+
label: Feature Description
33+
description: >
34+
Please describe how the new feature would be implemented, using pseudocode if relevant.
35+
placeholder: >
36+
Add a new parameter to DataFrame, to_series, to return a Series if possible.
37+
38+
def __init__(self, ..., to_series: bool=False):
39+
"""
40+
Parameters
41+
----------
42+
...
43+
44+
to_series : bool, default False
45+
Return a Series if possible
46+
"""
47+
if to_series:
48+
return Series(data)
49+
validations:
50+
required: true
51+
- type: textarea
52+
id: alternative
53+
attributes:
54+
label: Alternative Solutions
55+
description: >
56+
Please describe any alternative solution (existing functionality, 3rd party package, etc.)
57+
that would satisfy the feature request.
58+
placeholder: >
59+
Write a custom function to return a Series when possible.
60+
61+
def to_series(...)
62+
result = pd.DataFrame(...)
63+
...
64+
validations:
65+
required: true
66+
- type: textarea
67+
id: context
68+
attributes:
69+
label: Additional Context
70+
description: >
71+
Please provide any relevant GitHub issues, code examples or references that help describe and support
72+
the feature request.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Installation Issue
2+
description: Report issues installing the pandas library on your system
3+
title: "BUILD: "
4+
labels: [Build, Needs Triage]
5+
6+
body:
7+
- type: checkboxes
8+
id: checks
9+
attributes:
10+
label: Installation check
11+
options:
12+
- label: >
13+
I have read the [installation guide](https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html#installing-pandas).
14+
required: true
15+
- type: input
16+
id: platform
17+
attributes:
18+
label: Platform
19+
description: >
20+
Please provide the output of ``import platform; print(platform.platform())``
21+
validations:
22+
required: true
23+
- type: dropdown
24+
id: method
25+
attributes:
26+
label: Installation Method
27+
description: >
28+
Please provide how you tried to install pandas from a clean environment.
29+
options:
30+
- pip install
31+
- conda install
32+
- apt-get install
33+
- Built from source
34+
- Other
35+
validations:
36+
required: true
37+
- type: input
38+
id: pandas
39+
attributes:
40+
label: pandas Version
41+
description: >
42+
Please provide the version of pandas you are trying to install.
43+
validations:
44+
required: true
45+
- type: input
46+
id: python
47+
attributes:
48+
label: Python Version
49+
description: >
50+
Please provide the installed version of Python.
51+
validations:
52+
required: true
53+
- type: textarea
54+
id: logs
55+
attributes:
56+
label: Installation Logs
57+
description: >
58+
If possible, please copy and paste the installation logs when attempting to install pandas.
59+
value: >
60+
<details>
61+
62+
63+
Replace this line with the installation logs.
64+
65+
66+
</details>

0 commit comments

Comments
 (0)