code: def df_for_interactions_with_duplicates():
      # this should match ``df_for_interactions`` with duplicate user/item pairs added at the
      # following indices: ``0 & 1`` and ``12 & 13``
      return pd.DataFrame(
          data={
              "user_id": [0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 3, 4, 5, 5],
              "item_id": [1, 1, 2, 2, 3, 4, 5, 6, 7, 8, 9, 0, 3, 3],
              "ratings": [1, 2, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 5, 4],
          }
      )
  
imports: import os
  import numpy
  import pandas
  import pytest
  from collie.interactions import ExplicitInteractions, HDF5Interactions, Interactions
  from collie.utils import create_ratings_matrix, pandas_df_to_hdf5
label_desc: Use image node_id 8 for calling a global function with example usage: df_for_interactions_with_duplicates() and returns: pd