code: def describe_two_columns_to_dictionary():
      def it_returns_a_dictionary(spark):
          data = [("jose", 1), ("li", 2), ("luisa", 3)]
          source_df = spark.createDataFrame(data, ["name", "age"])
          actual = quinn.two_columns_to_dictionary(
              source_df, "name", "age"
          )
          assert {"jose": 1, "li": 2, "luisa": 3} == actual
  
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 2 for calling a global function with example usage: describe_two_columns_to_dictionary() without return types