I have a dask dataframe whose divisions are (1, 5923, 11845). I want to fetch the row with index 8851. When I call df.get_partition(1).compute().loc[8851], I get an error saying the key doesn’t exist. When I call df.get_partition(0).compute().loc[8851], the item is there. Considering 8851 is a number between 5923 and 11845, I would expect it to exist in the second partition.
Can someone please explain why it isn’t? Are divisions and partitions separate concepts? I’m using dask 2023.5.0