Kotlin Create Array Javascript Append Method Pandas