code: def test_table():
      def script():
          import numpy as np
          import pandas as pd
  
          import streamlit as st
  
          df = pd.DataFrame(
              index=[[0, 1], ["i1", "i2"]],
              columns=[[2, 3, 4], ["c1", "c2", "c3"]],
              data=np.arange(0, 6, 1).reshape(2, 3),
          )
          st.table(df)
  
      at = AppTest.from_function(script).run()
      df = pd.DataFrame(
          index=[[0, 1], ["i1", "i2"]],
          columns=[[2, 3, 4], ["c1", "c2", "c3"]],
          data=np.arange(0, 6, 1).reshape(2, 3),
      )
      assert at.table[0].value.equals(df)
  
      repr(at.table[0])
  
imports: from datetime import date, datetime, time
  import numpy
  import pandas
  import pytest
  from streamlit.elements.markdown import MARKDOWN_HORIZONTAL_RULE_EXPRESSION
  from streamlit.testing.v1.app_test import AppTest
label_desc: Use image node_id 31 for calling a global function with example usage: test_table() without return types