Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
ERR: No Error when values argument in pivot_table is not in df.columns #14938
Comments
|
yep, looks like a bug. These should be validated and a |
jreback
added Difficulty Novice Effort Low Error Reporting Reshaping
labels
Dec 21, 2016
jreback
added this to the
Next Major Release
milestone
Dec 21, 2016
jreback
changed the title from
No Error when values argument in pivot_table is not in df.columns to ERR: No Error when values argument in pivot_table is not in df.columns
Dec 21, 2016
|
Looks like the |
Dr-Irv
added a commit
to Dr-Irv/pandas
that referenced
this issue
Dec 22, 2016
|
|
Dr-Irv |
9ba7977
|
Dr-Irv
added a commit
to Dr-Irv/pandas
that referenced
this issue
Dec 22, 2016
|
|
Dr-Irv |
c42cd31
|
Dr-Irv
referenced
this issue
Dec 22, 2016
Merged
ERR: raise on missing values in pd.pivot_table #14965
jreback
modified the milestone: 0.20.0, Next Major Release
Dec 23, 2016
Dr-Irv
added a commit
to Dr-Irv/pandas
that referenced
this issue
Dec 23, 2016
|
|
Dr-Irv |
ff4df5a
|
jreback
closed this
in #14965
Dec 23, 2016
jreback
added a commit
that referenced
this issue
Dec 23, 2016
|
|
Dr-Irv + jreback |
8f7ba1b
|
ShaharBental
added a commit
to ShaharBental/pandas
that referenced
this issue
Dec 26, 2016
|
|
Dr-Irv + ShaharBental |
5dcdfbf
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cdemulde commentedDec 21, 2016
Code Sample
Problem description
The above code gives no error, while 'occurenceID' is not a dataframe column (as there is a typo, needs to be 'occurrenceID', with two r's). It just produces a dataframe with only an index. Maybe a KeyError should be thrown?
Output of
pd.show_versions()pandas: 0.19.1
nose: None
pip: 9.0.1
setuptools: 32.1.0.post20161217
Cython: None
numpy: 1.11.2
scipy: 0.18.1
statsmodels: 0.6.1
xarray: None
IPython: 5.1.0
sphinx: None
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.5.3
openpyxl: None
xlrd: 1.0.0
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.8
boto: None
pandas_datareader: None