Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人熟悉Iris数据集吗?如果我错了,请纠正我,但这个数据集有 4 个维度。但是,ndims只返回 2。这怎么可能?
ndims
它有 2 个维度,一个长度为 150,另一个长度为 4(不包括物种数据)。也许您想使用size而不是ndims?
size