向结构化的numpy数组添加字段(3) [英] Adding a field to a structured numpy array (3)

查看:95
本文介绍了向结构化的numpy数组添加字段(3)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

已经多次询问并回答了此问题(此处此处).显然,该功能已在numpy 1.6.1中移动.没有更多的numpy.lib.recfunctions.虽然我可以按照以前的帖子中的说明实现自己的功能,但我会真的,而不是!

This has been asked and answered several times (here and here, for instance). Apparently the function has been moved in numpy 1.6.1. There is no more numpy.lib.recfunctions. While I can implement my own as specified in previous posts, I would really rather not!

有人可以告诉我此功能的路径吗?整个recfunctions是否已被移动或合并到另一个库中?

Can someone tell me the path to this function? Have recfunctions as a whole been moved or merged into another library?

推荐答案

根据 git历史记录numpy.lib.recfunctions没去任何地方.

我会检查您是否安装了numpy,并可能将其升级到新版本.

I'd check your installation of numpy, and perhaps upgrade it to a newer version.

这篇关于向结构化的numpy数组添加字段(3)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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