title: add dataframe to another one
body: <p>I'd like to make a summary of a <code>dataframe</code>. I got some outputs. I would like to combine the three <code>dataframe</code> into a <code>dataframe</code> that will be exactly like the first one.</p>
  
  <p>Here is what I did.</p>
  
  <pre><code>// Compute column summary statistics.
  val spark = SparkSession.builder.master("local").appName("my-spark-app").getOrCreate()
  val dataframe = spark.read.option("header", true).option("inferSchema", true).format("com.databricks.spark.csv").load("C:/Users/mhattabi/Desktop/donnee/cassandraTest_1.csv")
  val colNames=dataframe.columns
  val data=dataframe.describe().show()
  
  +-------+-------------------+-------------------+-------------------+-------------------+-------------------+
  |summary|               Col0|               Col1|               Col2|               Col3|               Col4|
  +-------+-------------------+-------------------+-------------------+-------------------+-------------------+
  |  count|               9999|               9999|               9999|               9999|               9999|
  |   mean| 0.4976937166129511| 0.5032998128645433| 0.5002933978916888| 0.5008783202471074|0.49977372871783293|
  | stddev| 0.2893201326892155|0.28767789122296994|0.29041197844235034|0.28989958496291496| 0.2881033430504947|
  |    min|4.92436811557243E-6|3.20277176946531E-5|1.41602940923349E-5|6.53252937203857E-5| 5.4864212896146E-5|
  |    max|  0.999442967120299|    0.9999608020298|  0.999968873336897|  0.999836584087385|  0.999822016805327|
  +-------+-------------------+-------------------+-------------------+-------------------+-------------------+
  println("Skewness")
  val Skewness = dataframe.columns.map(c =&gt; skewness(c).as(c))
  val Skewness_ = dataframe.agg(Skewness.head, Skewness.tail: _*).show()
  </code></pre>
  
  <p>Skewness</p>
  
  <pre><code>   +--------------------+--------------------+--------------------+--------------------+--------------------+
      |                Col0|                Col1|                Col2|                Col3|                Col4|
      +--------------------+--------------------+--------------------+--------------------+--------------------+
      |0.015599787007160271|-0.00740111491496...|0.006096695102089171|0.003614431405637598|0.007869663345343194|
      +--------------------+--------------------+--------------------+--------------------+--------------------+
      println("Kurtosis")
      val Kurtosis = dataframe.columns.map(c =&gt; kurtosis(c).as(c))
      val Kurtosis_ = dataframe.agg(Kurtosis.head, Kurtosis.tail: _*).show//kurtosis
  Kurtosis
  +-------------------+-------------------+-------------------+-------------------+------------------+
  |               Col0|               Col1|               Col2|               Col3|              Col4|
  +-------------------+-------------------+-------------------+-------------------+------------------+
  |-1.2187774053075133|-1.1861812968784207|-1.2107252263053805|-1.2108988817869097|-1.199054929668751|
  +-------------------+-------------------+-------------------+-------------------+------------------+
  </code></pre>
  
  <p>I would like to add to skewness and the kurtosis <code>dataframe</code> to the first one and add their names into the first colummns.</p>
  
  <p>Thanks in advance</p>