I have the following Scala value:
val values: List[Iterable[Any]] = Traces().evaluate(features).toList
and I want to convert it to a DataFr
Simplest approach:
val newList = yourList.map(Tuple1(_)) val df = spark.createDataFrame(newList).toDF("stuff")