code: def get_dataframes_and_queues(
      dataframe_filter_="numpy,dpnp,dpctl", device_filter_="cpu,gpu"
  ):
      dataframes_and_queues = []
      if "numpy" in dataframe_filter_:
          dataframes_and_queues.append(
              pytest.param("numpy", None, id="numpy")
          )
  
      def get_df_and_q(dataframe: str):
          df_and_q = []
          for queue in get_queues(device_filter_):
              id = "{}-{}".format(dataframe, queue.id)
              df_and_q.append(
                  pytest.param(dataframe, queue.values[0], id=id)
              )
          return df_and_q
  
      if dpctl_available and "dpctl" in dataframe_filter_:
          dataframes_and_queues.extend(get_df_and_q("dpctl"))
      if dpnp_available and "dpnp" in dataframe_filter_:
          dataframes_and_queues.extend(get_df_and_q("dpnp"))
      return dataframes_and_queues
  
imports: import pytest
  import numpy
  from onedal.tests.utils._device_selection import get_queues
label_desc: Use image node_id 1 for calling a global function with example usage: get_dataframes_and_queues(dataframe_filter_, device_filter_) and returns: dataframes_and_queues, df_and_q