For next scenarios: ``` val res22 = personsDf.groupBy { city }.median("newAge") { age and yearsToRetirement } val median221: Int? = res22.newAge[0] res22.compareSchemas() ``` Now it extracts the type from the first column Partially implemented in #1077