code: def create_sample_table():
      return pa.table(
          {
              "year": [2020, 2022, 2021, 2022, 2019, 2021],
              "n_legs": [2, 2, 4, 4, 5, 100],
              "animal": [
                  "Flamingo",
                  "Parrot",
                  "Dog",
                  "Horse",
                  "Brittle stars",
                  "Centipede",
              ],
          }
      )
  
file_path: arrow/python/pyarrow/tests/test_dataset_encryption.py
imports: from datetime import timedelta
  import pyarrow.fs
  import pyarrow
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: create_sample_table() and returns: pa