ktongue's picture
download
raw
266 Bytes
from typing import Any
from pandas import Index
def allow_na_ops(obj: Any) -> bool:
"""Whether to skip test cases including NaN"""
is_bool_index = isinstance(obj, Index) and obj.inferred_type == "boolean"
return not is_bool_index and obj._can_hold_na

Xet Storage Details

Size:
266 Bytes
·
Xet hash:
64b93eb21e8c8077563bb516bac477789234e41410b918d473257b55a1f7ab24

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.