dashboard
repositories
filestore
activity
search
login
main
/
archive
归档各类文件
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
python压测脚本运行使用说明与代码拓展补充技术文档
hyb
2025-11-04
668edf874b4f77214a8ff4513e60e3c1a973f532
[archive.git]
/
测试组
/
脚本
/
Change_password
/
venv_build
/
Lib
/
site-packages
/
pandas
/
tests
/
arrays
/
floating
/
test_contains.py
1
2
3
4
5
6
7
8
9
10
11
12
import numpy as np
import pandas as pd
def test_contains_nan():
# GH#52840
arr = pd.array(range(5)) / 0
assert np.isnan(arr._data[0])
assert not arr.isna()[0]
assert np.nan in arr