Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K

pandas.Index.hasnans#

Index.hasnans[source]#

Return True if there are any NaNs.

Enables various performance speedups.

Returns:
bool

Examples

>>>s=pd.Series([1,2,3],index=['a','b',None])>>>sa    1b    2None 3dtype: int64>>>s.index.hasnansTrue

[8]ページ先頭

©2009-2025 Movatter.jp