当前位置:网站首页>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.
边栏推荐
猜你喜欢

LeetCode:746. 使用最小花费爬楼梯【动态规划】

@Accessors 注解详解

oracle inner join and outer join

MySQL常见的索引

基于libmodbus库实现modbus TCP/RTU通信

Redis的集群模式

「PHP基础知识」空值(null)的使用

subprocess.CalledProcessError: Command 'pip install 'thop'' returned non-zero exit status 1.

APK的安装过程分析 PMS包管理器

活体检测 Adaptive Normalized Representation Learning for GeneralizableFace Anti-Spoofing 阅读笔记
随机推荐
赶紧进来!!!教你用C语言写三子棋小游戏
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
Deveco studio 鸿蒙app访问网络详细过程(js)
[详解C语言]一文带你玩转C语言小游戏---三子棋
Double Strings (别总忘记substr)
[详解C语言]一文带你玩转C语言小游戏---扫雷
多个el-select下拉框无法选中相同内容
Redis简单学习笔记
Mysql8创建用户以及赋权操作
Redis笔记进阶篇:万字长文-整理Redis,各种知识点,建议收藏
知识工程作业2:知识工程相关领域介绍
API 低代码开发:接口大师,一套开发、管理和提供接口的产品框架
@Autowired与@Resource区别
@Autowired详解[email protected]在static属性上的使用
MySQL常见的索引
(Repost) HashCode Summary (1)
数据库操作作业
Keil development environment installation tutorial
oracle inner join and outer join
SSM整合