当前位置:网站首页>np.isnan ()
np.isnan ()
2022-08-02 03:34:00 【woshicaiji12138】
import numpy as nps = data[:, 2]nan = [i for i in range(len(s)) if np.isnan(s[i])]The np.isnan(x) function can determine whether x is a null value, and then output a boolean type variable.
Then the function of np.nan() here is to make the third column of the data data not nullThe data of the value is stored in nan in turn.
边栏推荐
猜你喜欢

知识工程作业2:知识工程相关领域介绍
![CV-Model [4]: MobileNet v3](/img/a1/fc3901d55b28aa080235f093b94cb4.png)
CV-Model [4]: MobileNet v3

【程序人生】做了多年的运维,靠什么转行拿下12K+年终奖的薪资?

MySQL常见的索引

Debian 10 NTP 服务配置

MySQL中的各种锁(行锁、间隙锁、临键锁等等LBCC)

subprocess.CalledProcessError: Command 'pip install 'thop'' returned non-zero exit status 1.
![OD-Model [4]: SSD](/img/ad/4ffb3e56538aa38b03173d79d9d213.jpg)
OD-Model [4]: SSD

AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'

(forwarded) HashCode summary (2)
随机推荐
线性代数学习笔记2-1:向量和向量组、线性相关性(张成空间的概念)
2022.7.30 js笔记 运算符和流程控制符、循环
Redis笔记进阶篇:万字长文-整理Redis,各种知识点,建议收藏
mysql创建表
PowerManagerService灭屏超时流程
Week 7 Review
第十一天&shell脚本
JJWT工具类
SOCKS5
【深度学习】从LeNet-5识别手写数字入门深度学习
「PHP基础知识」空值(null)的使用
磷脂-聚乙二醇-巯基,DSPE-PEG-Thiol,DSPE-PEG-SH,MW:5000
赶紧进来!!!教你用C语言写三子棋小游戏
oracle inner join and outer join
MySQL中JOIN的用法
2022.7.30 js notes Operators and flow controllers, loops
周日数据库作业
AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from ‘/yolov5-5.0/models/commo
HCIP Day 11_MPLS Experiment
Error: with open(txt_path,'r') as f: FileNotFoundError: [Errno 2] No such file or directory: