Input and output#
NumPy binary files (NPY, NPZ)#
|
Loads arrays or pickled objects from |
|
Saves an array to a binary file in |
|
Saves one or more arrays into a file in uncompressed |
|
Saves one or more arrays into a file in compressed |
Text files#
|
Load data from a text file. |
|
Save an array to a text file. |
|
Load data from text file, with missing values handled as specified. |
|
A new 1-D array initialized from text data in a string. |
String formatting#
|
Return a string representation of an array. |
|
Returns the string representation of an array. |
|
Returns the string representation of the content of an array. |
|
Format a floating-point scalar as a decimal string in positional notation. |
|
Format a floating-point scalar as a decimal string in scientific notation. |
Base-n representations#
|
Return the binary representation of the input number as a string. |
|
Return a string representation of a number in the given base system. |