-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
"Exception: Column(s) <cols> already selected" when using groupby, resample, and agg #23531
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
Comments
this is fixed in master pls try |
I've installed master from source and now I get this error when invoking
however invoking
pd.show_versions()
INSTALLED VERSIONScommit: None pandas: 0.24.0.dev0+936.gcf4c0b616 |
@trianta2 I can reproduce your second issue. Can you please create that as a separate issue though? Typically would like to keep every issue related to one issue at a time so as to keep things less confusing when looking back. Closing this for now as resolved on master but again please open up your second problem as a new issue |
Sure, see #23568 |
@trianta2 I'm having the same issue with
have you found a workaround other than installing the release candidate for pandas 0.24? |
@otmezger I'm avoiding |
Code Sample, a copy-pastable example if possible
Problem description
This line:
causes this error:
however invoking
mean
andstd
individually work as expected:Expected Output
A dataframe with the combined outputs of:
Output of
pd.show_versions()
pd.show_versions()
INSTALLED VERSIONS
commit: None
python: 3.6.6.final.0
python-bits: 64
OS: Darwin
OS-release: 16.7.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
pandas: 0.23.3
pytest: 3.7.1
pip: 18.0
setuptools: 39.1.0
Cython: None
numpy: 1.14.5
scipy: 1.1.0
pyarrow: None
xarray: None
IPython: 6.4.0
sphinx: 1.7.5
patsy: None
dateutil: 2.7.3
pytz: 2018.5
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: 2.2.2
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: 1.0.1
sqlalchemy: 1.2.12
pymysql: None
psycopg2: None
jinja2: 2.10
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
The text was updated successfully, but these errors were encountered: