-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
pd.MultiIndex.get_loc(np.nan) #19132
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
Index
Related to the Index class or subclasses
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Milestone
Comments
yeah, nan handling is a bit of a problem. try this with multiple nan as well in say the 2nd level |
I would like to take this issue if no one handle this. |
proost
added a commit
to proost/pandas
that referenced
this issue
Oct 4, 2019
MultiIndex.get_loc can find nan when input is NA value(e.g. nan, None)
proost
added a commit
to proost/pandas
that referenced
this issue
Oct 4, 2019
MultiIndex.get_loc can find nan when input is NA value(e.g. nan, None)
proost
added a commit
to proost/pandas
that referenced
this issue
Oct 8, 2019
MultiIndex.get_loc can find missing value in MultiIndex with a null value as input
proost
added a commit
to proost/pandas
that referenced
this issue
Oct 9, 2019
MultiIndex.get_loc can find missing value in MultiIndex with a null value as input
proost
added a commit
to proost/pandas
that referenced
this issue
Oct 9, 2019
MultiIndex.get_loc can find missing value in MultiIndex with a null value as input
proost
added a commit
to proost/pandas
that referenced
this issue
Oct 10, 2019
MultiIndex.get_loc can't find nan with a null value as input
proost
added a commit
to proost/pandas
that referenced
this issue
Oct 11, 2019
MultiIndex.get_loc could not find nan with values including missing values as a input
proost
added a commit
to proost/pandas
that referenced
this issue
Oct 11, 2019
MultiIndex.get_loc could not find nan with values including missing values as a input
proost
added a commit
to proost/pandas
that referenced
this issue
Oct 11, 2019
MultiIndex.get_loc could not find nan with values including missing values as a input
proost
added a commit
to proost/pandas
that referenced
this issue
Nov 1, 2019
MultiIndex.get_loc could not find nan with values including missing values as a input
proost
added a commit
to proost/pandas
that referenced
this issue
Nov 5, 2019
MultiIndex.get_loc could not find nan with values including missing values as a input
proost
added a commit
to proost/pandas
that referenced
this issue
Nov 21, 2019
MultiIndex.get_loc could not find nan with values including missing values as a input
proost
added a commit
to proost/pandas
that referenced
this issue
Nov 21, 2019
MultiIndex.get_loc could not find nan with values including missing values as a input
proost
added a commit
to proost/pandas
that referenced
this issue
Nov 21, 2019
MultiIndex.get_loc could not find nan with values including missing values as a input
proost
added a commit
to proost/pandas
that referenced
this issue
Nov 21, 2019
MultiIndex.get_loc could not find nan with values including missing values as a input
proost
added a commit
to proost/pandas
that referenced
this issue
Nov 22, 2019
MultiIndex.get_loc could not find nan with values including missing values as a input
proost
added a commit
to proost/pandas
that referenced
this issue
Nov 22, 2019
MultiIndex.get_loc could not find nan with values including missing values as a input
proost
added a commit
to proost/pandas
that referenced
this issue
Nov 22, 2019
MultiIndex.get_loc could not find nan with values including missing values as a input
proost
added a commit
to proost/pandas
that referenced
this issue
Nov 22, 2019
MultiIndex.get_loc could not find nan with values including missing values as a input
proost
added a commit
to proost/pandas
that referenced
this issue
Dec 2, 2019
MultiIndex.get_loc could not find nan with values including missing values as a input
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Index
Related to the Index class or subclasses
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Code Sample, a copy-pastable example if possible
Problem description
Opening a separate issue from #18485 (full label containing NaN) because, differently from that, this is not fixed by #19074.
xref #5286 because they are probably worth testing together.
Expected Output
slice(0, 4, None)
Output of
pd.show_versions()
INSTALLED VERSIONS
commit: None
python: 3.5.3.final.0
python-bits: 64
OS: Linux
OS-release: 4.9.0-5-amd64
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: en_GB.UTF-8
LOCALE: en_GB.UTF-8
pandas: 0.22.0.dev0+448.gdbec3c92e
pytest: 3.0.6
pip: 9.0.1
setuptools: 33.1.1
Cython: 0.25.2
numpy: 1.12.1
scipy: 0.18.1
pyarrow: None
xarray: None
IPython: 5.2.2
sphinx: None
patsy: 0.4.1+dev
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: 1.2.0
tables: 3.3.0
numexpr: 2.6.1
feather: 0.3.1
matplotlib: 2.0.0
openpyxl: 2.3.0
xlrd: 1.0.0
xlwt: 1.2.0
xlsxwriter: None
lxml: 3.7.1
bs4: 4.5.3
html5lib: 0.999999999
sqlalchemy: 1.0.15
pymysql: None
psycopg2: None
jinja2: 2.8
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
The text was updated successfully, but these errors were encountered: