numpy.npio
memmap[dtype: type = u8](filename, mode: str = "r+", offset: int = 0, shape = None, order: str = "C")
parse_header(header: str)
load[ndim: Literal[int] = 1, dtype: type = float](file, mmap_mode: Optional[str] = None)
save(file, arr)
savetxt(fname, X, delimiter: str = " ", newline: str = "\n", header: str = "", footer: str = "", comments: str = "# ")
fromfile[dtype: type = float](file, count: int = -1, sep: str = "", offset: int = 0)
fromstring[dtype: type = float](string, count: int = -1, sep: str = "")
class ndarray[dtype, ndim]
Methods
1
class Converters[dtype, F, M, U]
Fields
7
funcs
F
mask
M
usecols
U
dtype
type
F
type
M
type
U
type
Constructors
1
Special methods
1
normalize_col(col: int, num_fields: int)
default_fill[dtype: type]()
malformed(row: int, num_fields: int)
min_dim[ndmin: Literal[int]](arr: ndarray)
make_conv[dtype: type](converters, num_fields: int, usecols)
class CSVReader
Constructors
1
Methods
9
Special methods
2
class ArrayUpdate[A, C, F]
Fields
7
arr
A
cols
C
conv
F
last_row
int
A
type
C
type
F
type
Constructors
1
Properties
1
Methods
4
Special methods
1
loadtxt[dtype: type = float, unpack: Literal[bool] = False, ndmin: Literal[int] = 0](fname: str, comments = "#", delimiter = None, converters = None, skiprows: int = 0, usecols = None, max_rows: Optional[int] = None, quotechar: Optional[str] = None)
class CSVReaderGen
Constructors
1
Methods
21
fix_names(self: Self, excludelist: List[str], deletechars: str, replace_space: str, upper: bool, lower: bool)
partition_line(self: Self, line: str, delimiter, num_fields: int, row: int, invalid_raise: bool)
get_num_fields_single_spaced(self: Self, line: str, get_names: bool, delimiter)
parse_spaced(self: Self, i: int, row_callback, num_fields: int, maxrows: int, invalid_raise: bool, delimiter)
parse_single(self: Self, line: str, row_callback, row: int, fields: Ptr[str], num_fields: int, invalid_raise: bool)
Special methods
2
class ArrayUpdateGen[A, C, F, M]
Fields
11
arr
A
cols
C
conv
F
filling_values
M
autostrip
bool
loose
bool
last_row
int
A
type
C
type
F
type
M
type
Constructors
1
Properties
1
Methods
6
Special methods
1
genfromtxt[dtype: type = float, unpack: Literal[bool] = False, ndmin: Literal[int] = 0](fname, comments: Optional[str] = "#", delimiter = None, skip_header: int = 0, skip_footer: int = 0, converters = None, filling_values = None, usecols = None, names = None, excludelist = None, deletechars: str = " !#$%&\'()*+, -./:;<=>?@[\\]^{|}~", replace_space: str = "_", autostrip: bool = False, case_sensitive = True, loose: bool = True, invalid_raise: bool = True, max_rows: Optional[int] = None)
class ndarray[dtype, ndim]
Special methods
2