pub fn _get_rows_encoded_compat_array(by: &Series) -> PolarsResult<ArrayRef>