numpy-cn icon indicating copy to clipboard operation
numpy-cn copied to clipboard

NumPy官方中文文档(完整版)

Results 33 numpy-cn issues
Sort by recently updated
recently updated
newest added

第一句`用 ​​irspeed Velocity 对 NumPy 进行基准测试`中`irspeed`应为`airspeed` 这部分内容和[numpy official website](https://numpy.org/doc/stable/benchmarking.html)上的相比似乎还没有完成(或者本来就不打算完全翻译?)

路径:docs/user/basics/io.md 这篇文章所有例子的data都是字符串,操作字符串需要用StringIO,所以所有的ByteIO都应该改成StringIO。

在章节[https://github.com/teadocs/numpy-cn/blob/master/docs/user/basics/io.md](url)中,运行一下代码`data = "1, 2, 3, 4, 5, 6" np.genfromtxt(BytesIO(data), delimiter=",")`出现TypeError: a bytes-like object is required, not 'str'错误 我得环境是python3.7. 此处的代码应该改为`np.genfromtxt(BytesIO(data.encode()), delimiter=",")`就可以正常运行

![image](https://user-images.githubusercontent.com/46876857/108066038-c7d71180-7099-11eb-9754-f6584ab0249f.png) 具体网址:https://www.numpy.org.cn/user/basics/io.html 此处BytesIO()参数为byte类型,而data是字符串,应该改为StringIO()。

Fixed some terms and sentences