long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Matrix</h4>
<pre>public&nbsp;Matrix&#8203;(org.apache.spark.sql.Dataset&lt;org.apache.spark.sql.Row&gt;&nbsp;dataFrame,
              long&nbsp;numRows,
              long&nbsp;numCols)</pre>
<div class="block">Convert a Spark DataFrame to a SystemDS binary-block representation,
 specifying the number of rows and columns.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dataFrame</code> - the Spark DataFrame</