toMapConverts DataFrame into Map<String, List<*>> from column names to column values. toMap() Last modified: 27 September 2024 toList Rendering