legate-dataframe uses the same pattern as rapidsmpf was using, but this is now changed here: https://github.com/rapidsai/rapidsmpf/pull/371 We should do the same refactor here, should make the code slightly simpler and faster.