code: def test__stream_good_dict_of_index_and_series_data_transformed(
      self,
  ) -> None:
      df = pd.DataFrame(
          index=pd.date_range("now", periods=30, freq="T"),
          columns=["A"],
          data=np.cumsum(np.random.standard_normal(30), axis=0),
      )
      ds = bms.ColumnDataSource(
          data={
              "index": convert_datetime_array(df.index.values),
              "A": df.A,
          }
      )
      ds._document = "doc"
      stuff = {}
      mock_setter = object()
  
      def mock(*args, **kw):
          stuff["args"] = args
          stuff["kw"] = kw
  
      ds.data._stream = mock
      new_df = pd.DataFrame(
          index=df.index + pd.to_timedelta("30m"),
          columns=df.columns,
          data=np.random.standard_normal(30),
      )
      ds._stream(
          {"index": new_df.index, "A": new_df.A}, "foo", mock_setter
      )
      assert np.array_equal(
          stuff["args"][2]["index"],
          convert_datetime_array(new_df.index.values),
      )
      assert np.array_equal(stuff["args"][2]["A"], new_df.A.values)
  
imports: from __future__ import annotations
  import pytest
  import datetime
  import io
  import numpy
  import pandas
  from bokeh.models import Selection
  from bokeh.util.serialization import convert_datetime_array
  from bokeh.util.warnings import BokehDeprecationWarning
  import bokeh.models.sources
label_desc: Use image node_id 37 for calling the TestColumnDataSource obj's underlying member method code with example usage: obj.test__stream_good_dict_of_index_and_series_data_transformed() without return types