def METHOD_NAME(gui: Gui, helpers, csvdata):
    with tgb.Page(frame=None) as page:
        tgb.table(
            data="{csvdata}",
            page_size=10,
            page_size_options=[10, 30, 100],
            columns=["Day", "Entity", "Code", "Daily hospital occupancy"],
            date_format="eee dd MMM yyyy",
        )
    expected_list = [
        "<Table",
        'defaultColumns="{&quot;Entity&quot;: &#x7B;&quot;index&quot;: 1, &quot;type&quot;: &quot;object&quot;, &quot;dfid&quot;: &quot;Entity&quot;&#x7D;, &quot;Code&quot;: &#x7B;&quot;index&quot;: 2, &quot;type&quot;: &quot;object&quot;, &quot;dfid&quot;: &quot;Code&quot;&#x7D;, &quot;Daily hospital occupancy&quot;: &#x7B;&quot;index&quot;: 3, &quot;type&quot;: &quot;int&quot;, &quot;dfid&quot;: &quot;Daily hospital occupancy&quot;&#x7D;, &quot;Day_str&quot;: &#x7B;&quot;index&quot;: 0, &quot;type&quot;: &quot;datetime&quot;, &quot;dfid&quot;: &quot;Day&quot;, &quot;format&quot;: &quot;eee dd MMM yyyy&quot;&#x7D;}"',
        'height="80vh"',
        'width="100%"',
        'pageSizeOptions="[10, 30, 100]"',
        "pageSize={10.0}",
        "selected={[]}",
        'updateVarName="_TpD_tpec_TpExPr_csvdata_TPMDL_0"',
        "data={_TpD_tpec_TpExPr_csvdata_TPMDL_0}",
    ]
    gui._set_frame(inspect.currentframe())
    helpers.test_control_builder(gui, page, expected_list)