code: def test_multi_columns(input_subset, expected_dict, expected_index):
      # GH 39240
      df = pd.DataFrame(
          {
              "A": [[0, 1, 2], np.nan, [], (3, 4), np.nan],
              "B": 1,
              "C": [["a", "b", "c"], "foo", [], ["d", "e"], np.nan],
          },
          index=list("abcde"),
      )
      result = df.explode(input_subset)
      expected = pd.DataFrame(expected_dict, expected_index)
      tm.assert_frame_equal(result, expected)
  
file_path: pandas/pandas/tests/frame/methods/test_explode.py
imports: import re
  import numpy
  import pytest
  import pandas
  import pandas._testing
label_desc: Use image node_id 10 for calling a global function with example usage: test_multi_columns(input_subset, expected_dict, expected_index) without return types