Convert NPZ to ODS
Turn NPZ files into ODS. One spreadsheet with a sheet for each array in the archive, named after it, each with a bold header row and numbers, booleans and dates as typed cells.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop NPZ files on the dialor turn it to pick what to do
One sheet in ODS for every array in the archive.Each array gets its own named sheet with a bold header row and typed cells.
What you get
One ODS spreadsheet with a sheet for each array in the NPZ archive. Each sheet is named after its array. The first row is a bold header, and numbers, booleans and dates are stored as typed cells.
A 1-D array becomes one column. A 2-D array becomes a table with a column for each index of its second axis, named 0, 1, 2 and so on.
Records and larger arrays
A record array gets a column for each field. A field that holds an array or nested records is written as JSON text.
An array of three or more dimensions becomes one row for each index of all but its last axis. Those rows are led by columns named axis0, axis1 and so on.
What is left out
NaN and NaT become empty cells. Arrays of Python objects are not loaded, because unpickling them could run code. If the archive holds one, the conversion stops with
unsupported_elements.For other spreadsheet conversions, see every ODS conversion.
NPZ and ODS.What each format is.
The formats
NumPy Archive
Several NumPy arrays zipped together by numpy.savez, each under its own name.
- Extensions
- .npz
- MIME type
- application
/x -npz - Kind
- Text and data
OpenDocument Spreadsheet
OpenDocument spreadsheet, the native format of LibreOffice Calc.
- Extensions
- .ods
- MIME type
- application
/vnd .oasis .opendocument .spreadsheet - Kind
- Documents
In your code.The same NPZ to ODS conversion through the API, for your app or your agent.
$ cv convert report.npz report.ods$ cv convert report.npz report.odsQuestions.What people ask about NPZ to ODS.
Each sheet is named after the array it comes from in the archive. The archive holds each array under its own name.
It becomes a table with a column for each index of its second axis. The columns are named 0, 1, 2 and so on, under a bold header row.
NaN and NaT become empty cells.
The archive holds an array of Python objects. These are not loaded, since unpickling them could run code, so the conversion stops with unsupported_elements.