data2 = select(df,[:series1, :series2]=>ByRow(categorise)=>AsTable)
Hosted onDeepnote