-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Groupby crash on a single level #30229
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
Merged
Merged
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
6646c80
Fix groupby crash when axis = 1 and columns is not a MultiIndex
0135842
Suggested changes by jreback
9da523c
whatsnew commit
7651314
Update pandas/core/groupby/grouper.py
Ynob2000 c9649ed
Suggested changes for pull request.
21ca603
Merge branch 'master' of https://github.com/pandas-dev/pandas
9798ad7
pep8
eb74469
Delete :
Ynob2000 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
name: pandas-dev | ||
channels: | ||
- https://conda.anaconda.org/conda-forge/ | ||
dependencies: | ||
# required | ||
- numpy>=1.15 | ||
- python=3.6 | ||
- python-dateutil>=2.6.1 | ||
- pytz | ||
|
||
# benchmarks | ||
- asv | ||
|
||
# building | ||
- cython>=0.29.13 | ||
|
||
# code checks | ||
- black=19.10b0 | ||
- cpplint | ||
- flake8 | ||
- flake8-comprehensions>=3.1.0 # used by flake8, linting of unnecessary comprehensions | ||
- flake8-rst>=0.6.0,<=0.7.0 # linting of code blocks in rst files | ||
- isort # check that imports are in the right order | ||
- mypy=0.730 | ||
- pycodestyle # used by flake8 | ||
|
||
# documentation | ||
- gitpython # obtain contributors from git for whatsnew | ||
- sphinx | ||
- numpydoc>=0.9.0 | ||
|
||
# documentation (jupyter notebooks) | ||
- nbconvert>=5.4.1 | ||
- nbsphinx | ||
- pandoc | ||
# Dask and its dependencies | ||
- dask-core | ||
- toolz>=0.7.3 | ||
- fsspec>=0.5.1 | ||
- partd>=0.3.10 | ||
- cloudpickle>=0.2.1 | ||
|
||
# web (jinja2 is also needed, but it's also an optional pandas dependency) | ||
- markdown | ||
- feedparser | ||
- pyyaml | ||
- requests | ||
|
||
# testing | ||
- boto3 | ||
- botocore>=1.11 | ||
- hypothesis>=3.82 | ||
- moto # mock S3 | ||
- pytest>=5.0.1 | ||
- pytest-cov | ||
- pytest-xdist>=1.21 | ||
- seaborn | ||
- statsmodels | ||
|
||
# unused (required indirectly may be?) | ||
- ipywidgets | ||
- nbformat | ||
- notebook>=5.7.5 | ||
- pip | ||
|
||
# optional | ||
- blosc | ||
- bottleneck>=1.2.1 | ||
- ipykernel | ||
- ipython>=5.6.0 | ||
- jinja2 # pandas.Styler | ||
- matplotlib>=2.2.2 # pandas.plotting, Series.plot, DataFrame.plot | ||
- numexpr>=2.6.8 | ||
- scipy>=1.1 | ||
|
||
# optional for io | ||
- beautifulsoup4>=4.6.0 # pandas.read_html | ||
- fastparquet>=0.3.2 # pandas.read_parquet, DataFrame.to_parquet | ||
- html5lib # pandas.read_html | ||
- lxml # pandas.read_html | ||
- openpyxl<=3.0.1 # pandas.read_excel, DataFrame.to_excel, pandas.ExcelWriter, pandas.ExcelFile | ||
- pyarrow>=0.13.1 # pandas.read_parquet, DataFrame.to_parquet, pandas.read_feather, DataFrame.to_feather | ||
- pyqt>=5.9.2 # pandas.read_clipboard | ||
- pytables>=3.4.2 # pandas.read_hdf, DataFrame.to_hdf | ||
- python-snappy # required by pyarrow | ||
- s3fs # pandas.read_csv... when using 's3://...' path | ||
- sqlalchemy # pandas.read_sql, DataFrame.to_sql | ||
- xarray # DataFrame.to_xarray | ||
- xlrd # pandas.read_excel, DataFrame.to_excel, pandas.ExcelWriter, pandas.ExcelFile | ||
- xlsxwriter # pandas.read_excel, DataFrame.to_excel, pandas.ExcelWriter, pandas.ExcelFile | ||
- xlwt # pandas.read_excel, DataFrame.to_excel, pandas.ExcelWriter, pandas.ExcelFile | ||
- odfpy # pandas.read_excel | ||
- pyreadstat # pandas.read_spss | ||
- pip: | ||
- git+https://github.com/pandas-dev/pandas-sphinx-theme.git@master |
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
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.
Uh oh!
There was an error while loading. Please reload this page.