You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also the same in 0.19.2. I think it's this line where Series.from_array is called in DataFrame._ixs that's creating a new object, since sectionhere is what's being returned. Weird though since default for from_array is copy=False
Code Sample, a copy-pastable example if possible
Problem description
Found when working on #16443.
Also the same in 0.19.2. I think it's this line where Series.from_array is called in
DataFrame._ixs
that's creating a new object, sincesection
here is what's being returned. Weird though since default forfrom_array
iscopy=False
Unlike
loc
which ultimately just callsdf[0]
Expected Output
Both loc and iloc should both return views here, so
df.iloc[:,] is df[0]
should returnTrue
Output of
pd.show_versions()
pandas: 0.20.1
pytest: 3.1.0
pip: 9.0.1
setuptools: 27.2.0
Cython: None
numpy: 1.12.1
scipy: None
xarray: None
IPython: None
sphinx: None
patsy: None
dateutil: 2.6.0
pytz: 2017.2
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: None
s3fs: None
pandas_gbq: None
pandas_datareader: None
The text was updated successfully, but these errors were encountered: