code: def test_widget_load_table_df(self, superstore):
      table = Table(superstore)
      widget = PerspectiveWidget(table)
      assert widget.table.schema() == {
          "index": int,
          "Country": str,
          "Region": str,
          "Category": str,
          "City": str,
          "Customer ID": str,
          "Discount": float,
          "Order Date": date,
          "Order ID": str,
          "Postal Code": str,
          "Product ID": str,
          "Profit": float,
          "Quantity": int,
          "Row ID": int,
          "Sales": int,
          "Segment": str,
          "Ship Date": date,
          "Ship Mode": str,
          "State": str,
          "Sub-Category": str,
      }
  
      assert sorted(widget.columns) == sorted(
          [
              "index",
              "Category",
              "City",
              "Country",
              "Customer ID",
              "Discount",
              "Order Date",
              "Order ID",
              "Postal Code",
              "Product ID",
              "Profit",
              "Quantity",
              "Region",
              "Row ID",
              "Sales",
              "Segment",
              "Ship Date",
              "Ship Mode",
              "State",
              "Sub-Category",
          ]
      )
      view = widget.table.view()
      assert view.num_rows() == len(superstore)
      assert view.num_columns() == len(superstore.columns) + 1
  
file_path: perspective/python/perspective/perspective/tests/widget/test_widget_pandas.py
imports: from datetime import date
  import pandas
  import numpy
  from perspective import Table, PerspectiveWidget
label_desc: Use image node_id 1 for calling the TestWidgetPandas obj's underlying member method code with example usage: obj.test_widget_load_table_df(superstore) without return types