code: def df_right():
      # Create frame with 10 partitions
      # Frame has 11 distinct idx values
      partition_sizes = np.array([4, 2, 5, 3, 2, 5, 9, 4, 7, 4, 8])
      idx = [i for i, s in enumerate(partition_sizes) for _ in range(s)]
      k = [i for s in partition_sizes for i in range(s)]
      vi = range(len(k))
  
      return pd.DataFrame(dict(idx=idx, k=k, v1=vi)).set_index(["idx"])
  
imports: from __future__ import annotations
  import numpy
  import pandas
  import pytest
  import dask.dataframe
  from dask.dataframe._compat import PANDAS_GE_210
  from dask.dataframe.utils import assert_eq
label_desc: Use image node_id 2 for calling a global function with example usage: df_right() and returns: pd