code: def test_regression_data_frame(backbone, fields, tmpdir):
      train_data_frame = TEST_DF.copy()
      val_data_frame = TEST_DF.copy()
      test_data_frame = TEST_DF.copy()
      data = TabularRegressionData.from_data_frame(
          **fields,
          target_field="label",
          train_data_frame=train_data_frame,
          val_data_frame=val_data_frame,
          test_data_frame=test_data_frame,
          num_workers=0,
          batch_size=2,
      )
      model = TabularRegressor.from_data(
          datamodule=data, backbone=backbone
      )
      trainer = pl.Trainer(fast_dev_run=True, default_root_dir=tmpdir)
      trainer.fit(model, data)
  
imports: import pytest
  import pytorch_lightning
  from flash.core.utilities.imports import _TOPIC_TABULAR_AVAILABLE
  from flash.tabular import TabularRegressionData, TabularRegressor
label_desc: Use image node_id 1 for calling a global function with example usage: test_regression_data_frame(backbone, fields, tmpdir) without return types