code: def test_create_df(spark):
      rows_data = [("jose", 1), ("li", 2), ("luisa", 3)]
      col_specs = [("name", StringType()), ("age", IntegerType())]
  
      expected_schema = StructType(
          [
              StructField("name", StringType(), True),
              StructField("age", IntegerType(), True),
          ]
      )
      actual = quinn.create_df(spark, rows_data, col_specs)
      expected = spark.createDataFrame(rows_data, expected_schema)
      chispa.assert_df_equality(actual, expected)
  
file_path: quinn/tests/test_dataframe_helpers.py
imports: import quinn
  from tests.conftest import auto_inject_fixtures
  import chispa
  from pyspark.sql.types import IntegerType, StringType, StructType, StructField
label_desc: Use image node_id 6 for calling a global function with example usage: test_create_df(spark) without return types