-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Confusing behavior with (multi-)assignment and _LocIndexer/_IXIndexer #12947
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
you are missing the point here, when you use multiple columns, pandas will align for you. so you need to give it a raw array/list if you are doing this.
|
I suppose you could do a warning section in the docs. interested in that? |
I don't follow at all. Here is a little more strangeness:
So I can assign a DataFrame to another DataFrame (of compatible dimension just fine) I don't understand the NaNs at all. LHS=RHS shouldn't result in LHS being None when RHS is not None. That doesn't sound like correct behavior at all. Another weird thing that happens:
but since Therefore with Pandas |
you are doing 2 different things, in while above in my |
INSTALLED VERSIONS
commit: None
python: 3.5.1.final.0
python-bits: 64
OS: Linux
OS-release: 2.6.32-431.29.2.el6.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.18.0
nose: 1.3.7
pip: 8.1.1
setuptools: 20.4
Cython: None
numpy: 1.11.0
scipy: None
statsmodels: None
xarray: None
IPython: 4.1.2
sphinx: None
patsy: None
dateutil: 2.5.2
pytz: 2016.3
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: None
openpyxl: 2.3.4
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.12
pymysql: None
psycopg2: None
jinja2: None
boto: None
The text was updated successfully, but these errors were encountered: