code: def sample_data(local_data):
      series, X_df = local_data
      return to_distributed(series), to_distributed(X_df)
  
file_path: statsforecast/action_files/test_ray.py
imports: import sys
  import pytest
  import ray
  from .utils import pipeline, pipeline_with_level, pipeline_fitted
label_desc: Use image node_id 2 for calling a global function with example usage: sample_data(local_data) and returns: to_distributed,  to_distributed