code: def test_df_setitem():
      df: DataFrame = DataFrame(
          {
              "foo": (1, 1, 2, 2),
              "bar": (3, 4, 3, 4),
              "baz": (5, 6, 7, 8),
              "qux": (9, 10, 11, 12),
          }
      )
  
      # scaler
      df[4] = 13
      input_columns = InputColumnSelector.select(df.data, {"foo"})
      assert len(input_columns) == 1
      assert df.data.inputs[0] in input_columns
      assert input_columns[df.data.inputs[0]] == {"foo"}
  
      # scaler tensor
      df[5] = tensor()
      input_columns = InputColumnSelector.select(df.data, {"foo"})
      assert len(input_columns) == 1
      assert df.data.inputs[0] in input_columns
      assert input_columns[df.data.inputs[0]] == {"foo"}
  
      # tensor
      df[6] = tensor([13, 14, 15, 16])
      input_columns = InputColumnSelector.select(df.data, {"foo"})
      assert len(input_columns) == 2
      assert df.data.inputs[0] in input_columns
      assert input_columns[df.data.inputs[0]] == {"foo"}
      assert df.data.inputs[1] in input_columns
      assert input_columns[df.data.inputs[1]] == {None}
  
      # series
      df[7] = Series([13, 14, 15, 16])
      input_columns = InputColumnSelector.select(df.data, {"foo"})
      assert len(input_columns) == 2
      assert df.data.inputs[0] in input_columns
      assert input_columns[df.data.inputs[0]] == {"foo"}
      assert df.data.inputs[1] in input_columns
      assert input_columns[df.data.inputs[1]] == {None}
  
      # dataframe
      df[[8, 9]] = df[["foo", "bar"]]
      input_columns = InputColumnSelector.select(df.data, {8})
      assert len(input_columns) == 2
      assert df.data.inputs[0] in input_columns
      assert input_columns[df.data.inputs[0]] == set()
      assert df.data.inputs[1] in input_columns
      assert input_columns[df.data.inputs[1]] == {"foo", "bar"}
  
imports: from typing import Dict, Any, Set, List, Union
  import pytest
  from ..input_column_selector import InputColumnSelector
  from ......core import TileableData, ENTITY_TYPE
  from ......core.operand import Operand
  from ......dataframe import DataFrame, Series
  from ......tensor import tensor
label_desc: Use image node_id 7 for calling a global function with example usage: test_df_setitem() without return types