parameters: (self)
docstring: Benchmark dataframe updates for one-sided views.
docstring_summary: Benchmark dataframe updates for one-sided views.
docstring_tokens: Benchmark dataframe updates for one - sided views .
function: def benchmark_view_one_df_updates(self):
          """Benchmark dataframe updates for one-sided views."""
          table = Table(self._df_schema)
          views = [table.view(group_by=["State", "City"]) for i in range(25)]
          for v in views:
              v.on_update(empty_callback)
          update_data = pd.DataFrame(self._get_update_data(1000))
  
          def resolve_update():
              table.update(update_data)
              table.size()
  
          func = Benchmark(resolve_update, meta=make_meta("update", "one_df"))
          setattr(self, "update_one_df", func)
function_tokens: def benchmark_view_one_df_updates ( self ) : table = Table ( self . _df_schema ) views = [ table . view ( group_by = [ "State" , "City" ] ) for i in range ( 25 ) ] for v in views : v . on_update ( empty_callback ) update_data = pd . DataFrame ( self . _get_update_data ( 1000 ) ) def resolve_update ( ) : table . update ( update_data ) table . size ( ) func = Benchmark ( resolve_update , meta = make_meta ( "update" , "one_df" ) ) setattr ( self , "update_one_df" , func )