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.

  1. 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.

  2. 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.

  3. 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.

  4. 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

From · NPY

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
To · MD

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.

terminal
$ cv convert report.npy report.md
$ cv convert report.npy report.md

Questions.What people ask about NPY to MD.

01OF 04

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.

More conversions.Other ways in and out of NPY and MD.