code: def create_dataset(
      source_url: str, project: str, dataset_name: str
  ) -> str:
      print("starting create_dataset")
      from clearml import StorageManager, Dataset
      import pandas as pd
  
      local_file = StorageManager.get_local_copy(source_url)
      df = pd.read_csv(local_file, header=None)
      df.to_csv(path_or_buf="./dataset.csv", index=False)
      dataset = Dataset.create(
          dataset_project=project, dataset_name=dataset_name
      )
      dataset.add_files("./dataset.csv")
      dataset.get_logger().report_table(
          title="sample", series="head", table_plot=df.head()
      )
      dataset.finalize(auto_upload=True)
  
      print("done create_dataset")
      return dataset.id
  
imports: from clearml import PipelineDecorator, Task
label_desc: Use image node_id 1 for calling a global function with example usage: create_dataset(source_url, project, dataset_name) and returns: dataset