numpy.npio
memmap(filename, dtype: type = u8, mode: str = "r+", offset: int = 0, shape = None, order: str = "C")
parse_header(header: str)
load(file, mmap_mode: Optional[str] = None, ndim: Literal[int] = 1, dtype: type = float)
save(file, arr)
savetxt(fname, X, delimiter: str = " ", newline: str = "\n", header: str = "", footer: str = "", comments: str = "# ")
fromfile(file, dtype: type = float, count: int = -1, sep: str = "", offset: int = 0)
fromstring(string, dtype: type = float, count: int = -1, sep: str = "")
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(arr: ndarray, ndmin: Literal[int])
make_conv(converters, num_fields: int, usecols, dtype: type)
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(fname: str, dtype: type = float, comments = "#", delimiter = None, converters = None, skiprows: int = 0, usecols = None, unpack: Literal[bool] = False, ndmin: Literal[int] = 0, max_rows: Optional[int] = None, quotechar: Optional[str] = None)
class CSVReaderGen
Constructors
1
Methods
21
fix_names(self, excludelist: List[str], deletechars: str, replace_space: str, upper: bool, lower: bool)
partition_line(self, line: str, delimiter, num_fields: int, row: int, invalid_raise: bool)
get_num_fields_single_spaced(self, line: str, get_names: bool, delimiter)
parse_spaced(self, i: int, row_callback, num_fields: int, maxrows: int, invalid_raise: bool, delimiter)
parse_single(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(fname, dtype: type = float, 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, unpack: Literal[bool] = False, loose: bool = True, invalid_raise: bool = True, max_rows: Optional[int] = None, ndmin: Literal[int] = 0)
class ndarray[dtype, ndim]
Extends
numpy.ndarray.ndarray ยท View complete class API โ
Special methods
2