code: def sparse_ratings_matrix_for_interactions_with_missing_ids(
      df_for_interactions_with_missing_ids,
  ):
      return create_ratings_matrix(
          df=df_for_interactions_with_missing_ids,
          user_col="user_id",
          item_col="item_id",
          ratings_col="ratings",
          sparse=True,
      )
  
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 6 for calling a global function with example usage: sparse_ratings_matrix_for_interactions_with_missing_ids(df_for_interactions_with_missing_ids) and returns: create_ratings_matrix