CsvArray Op

CsvArray

parse CSV files as array


<p>Let’s you open uploaded <a href="https://en.wikipedia.org/wiki/Comma-separated_values">CSV</a> (character-separated-values)-files, which can be used to store tabular data, e.g.</p> <pre><code>Year,Make,Model,Description,Price 1997,Ford,E350,&quot;ac, abs, moon&quot;,3000.00 1999,Chevy,&quot;Venture &quot;&quot;Extended Edition&quot;&quot;&quot;,&quot;&quot;,4900.00 1999,Chevy,&quot;Venture &quot;&quot;Extended Edition, Very Large&quot;&quot;&quot;,,5000.00 1996,Jeep,Grand Cherokee,&quot;MUST SELL! air, moon roof, loaded&quot;,4799.00 </code></pre> <p>If your CSV-file has a header-row, you have to manually ignore it (index 0), or just delete it from the file. The result will be a two-dimensional array containing the rows and individual row-values.</p>


Full Name
  • Ops.Json.CsvArray
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


INPUT PORTS


file (String)

<p>The CSV-file you want to use in cables as an array</p>

OUTPUT PORTS


result (Array)

<p>The parsed two-dimensional array containing all the rows and columns from the CSV-file</p>

num items (Number)

<p>The number of rows </p>


Patches using CsvArray

  • Examples
  • Public
  • My Patches