-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: 2D ndarray of dtype 'object' is always copied upon construction #39263
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
Labels
Milestone
Comments
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 19, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 19, 2021
4 tasks
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 19, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 19, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 19, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 19, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 19, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 19, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 20, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 20, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 20, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 20, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 20, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 20, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 21, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 22, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 22, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 22, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 22, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 22, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 22, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 22, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 28, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
Jan 28, 2021
irgolic
added a commit
to irgolic/pandas
that referenced
this issue
May 25, 2021
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Code Sample, a copy-pastable example
Problem description
This issue addresses the TODO in
pandas.core.internals.construction.py
, line 250 on master at time of writing. This was introduced by #26825. It's quite annoying, I'm trying to use DataFrame as an interface to access my dtype object numpy array, but I can't without copying it in first.Expected Output
Exit code 0.
Output of
pd.show_versions()
INSTALLED VERSIONS
commit : b5958ee
python : 3.6.10.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 1.1.5
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 46.1.3
Cython : 0.29.14
pytest : 5.3.5
hypothesis : 5.4.1
sphinx : 2.3.1
blosc : None
feather : None
xlsxwriter : 1.2.8
lxml.etree : 4.5.0
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.12.0
pandas_datareader: None
bs4 : 4.8.2
bottleneck : 1.3.1
fsspec : 0.6.2
fastparquet : None
gcsfs : None
matplotlib : 3.2.1
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.2.0
numba : 0.48.0
The text was updated successfully, but these errors were encountered: