Convert NPY to MD
Turn NPY files into Markdown. A Markdown table with a header row.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop NPY files on the dialor turn it to pick what to do
A NumPy array as a Markdown table.Each row of the array becomes a row in a table with a header.
What you get
One Markdown file holding a table with a header row. A 1-D array becomes one column. A 2-D array becomes a column for each index of its second axis, named 0, 1, 2 and so on.
A record array gets a column for each field. A field that holds an array or nested records is written as JSON text.
Higher dimensions
An array of three or more dimensions becomes one row for each index of all but its last axis. The rows are led by columns named axis0, axis1 and so on.
How values are written
Numbers keep their shortest exact form. Booleans become true and false, and dates and times become ISO 8601. NaN and NaT become empty cells, and infinities become inf and -inf.
Arrays of Python objects
Arrays of Python objects are not loaded, since unpickling them could run code. The conversion stops with
unsupported_elements.To work with the result afterward, see merge MD or every MD conversion.
NPY and MD.What each format is.
The formats
NumPy Array
A single NumPy array saved with numpy.save, with its shape and data type.
- Extensions
- .npy
- MIME type
- application
/x -npy - Kind
- Text and data
Markdown
Plain text with light markup for headings, lists, links and code. What agents and developers write in.
- Extensions
- .md .markdown .mdown
- MIME type
- text
/markdown - Kind
- Text and data
In your code.The same NPY to MD conversion through the API, for your app or your agent.
$ cv convert report.npy report.md$ cv convert report.npy report.mdQuestions.What people ask about NPY to MD.
It becomes a table with a column for each index of its second axis. The columns are named 0, 1, 2 and so on.
NaN and NaT become empty cells. Infinities are written as inf and -inf.
No. Those arrays are not loaded, because unpickling them could run code. The conversion stops with unsupported_elements.
Each field becomes a column. A field that holds an array or nested records is written as JSON text.