code: def hdf_files(request, tmp_path_factory, pdf):
      pdf, nrows = pdf
      if request.param == "fixed":
          pdf = pdf.drop("col_category", axis=1)
  
      fname_df = tmp_path_factory.mktemp("hdf") / "test_df.hdf"
      pdf.to_hdf(fname_df, "hdf_df_tests", format=request.param)
  
      fname_series = {}
      for column in pdf.columns:
          fname_series[column] = (
              tmp_path_factory.mktemp("hdf") / "test_series.hdf"
          )
          pdf[column].to_hdf(
              fname_series[column],
              "hdf_series_tests",
              format=request.param,
          )
      return (fname_df, fname_series, request.param, nrows)
  
file_path: cudf/python/cudf/cudf/tests/test_hdf.py
imports: import os
  from string import ascii_letters
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf.testing._utils import DATETIME_TYPES, NUMERIC_TYPES, assert_eq
label_desc: Use image node_id 3 for calling a global function with example usage: hdf_files(request, tmp_path_factory, pdf) and returns: fname_df,  fname_series,  request,  nrows