nan,NaN和NAN有什么区别 [英] What's the difference between nan, NaN and NAN

查看:1107
本文介绍了nan,NaN和NAN有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在numpy中有nanNaNNAN.这三者的含义是什么,它们是否有所不同或可以互换使用?

In numpy there are nan, NaN and NAN. What's the sense of having all three, do they differ or any of these can be used interchangeably?

推荐答案

>>> numpy.nan is numpy.NaN is numpy.NAN
True

很方便.它们是完全一样的.

It's just convenient. They're exactly the same.

这篇关于nan,NaN和NAN有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆