Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Groupby level fails to enumerate groups #15155
Comments
|
This is a bug, which is hidden because of this missing method on
|
jreback
added Bug Categorical Groupby Difficulty Novice Effort Low
labels
Jan 18, 2017
jreback
added this to the
0.20.0
milestone
Jan 18, 2017
watercrossing
referenced
this issue
Jan 19, 2017
Closed
Bug in groupby.get_group on categoricalindex #15163
watercrossing
added a commit
to watercrossing/pandas
that referenced
this issue
Jan 19, 2017
|
|
watercrossing |
742d4a5
|
jreback
closed this
in 4c65d5f
Jan 19, 2017
AnkurDedania
added a commit
to AnkurDedania/pandas
that referenced
this issue
Mar 21, 2017
|
|
watercrossing + AnkurDedania |
a8f9ec5
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
watercrossing commentedJan 18, 2017
•
edited
Code Sample
Problem description
instead of returning the data as expected, an error is thrown:
Expected Output
I guess an alternative way to get this output is
test.loc["a"]- which yields the expected output below:Output of
pd.show_versions()INSTALLED VERSIONS
commit: None
python: 2.7.10.final.0
python-bits: 64
OS: Linux
OS-release: 2.6.32-431.11.2.el6.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: en_GB.utf8
LANG: en_GB.utf8
LOCALE: None.None
pandas: 0.19.2
nose: 1.3.7
pip: 9.0.1
setuptools: 32.3.1
Cython: None
numpy: 1.11.3
scipy: 0.18.1
statsmodels: None
xarray: None
IPython: 5.1.0
sphinx: 1.5.1
patsy: None
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.5.3
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: 0.9999999
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.9.4
boto: None
pandas_datareader: None