A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/2033 below:

.ix does not warn when selecting a none-existing column · Issue #2033 · pandas-dev/pandas · GitHub

df3 = DataFrame({"a":[1,2,3,4], "b":[1,2,3,4]})
df3.ix[:,["b","c"]]
Out[1]: 
   b   c
0  1 NaN
1  2 NaN
2  3 NaN
3  4 NaN

I would have (had...) expected that the df3.ix[:,["b","c"]] will throw an error :-(


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4