才发现原来有中文网,而且刚才是搜dtype才去的那!
https://www.numpy.org.cn/
但可惜loadtxt还是没有中文文档
%%writefile test.txt
1 2 3 4
2 3 4 5
3 4 5 6
4 5 6 7
Help on function loadtxt in module numpy:
loadtxt(fname, dtype=<class ‘float’>, comments=’#’, delimiter=None, converters=None, skiprows=0, usecols=None, unpack=False, ndmin=0, encoding=‘bytes’, max_rows=None)
Load data from a text file.
Each row in the text file must have the same number of values.
文本文件中的每一行必须具有相同数量的值。
Parameters
----------
fname : file, str, or pathlib.Path
File, filename, or generator to read. If the filename extension is
``.gz`` or ``.bz2``, the file is first decompressed. Note that
generators should return byte strings.
文件名(