code: def test_standard_scaler_add_remove_columns():
      """Checks that no exceptions are raised whenever columns are dropped and/or added."""
  
      X = pd.read_csv(datasets.TrumpApproval().path)
  
      ss = preprocessing.StandardScaler()
      for xb in np.array_split(X, 10):
          # Pick half of the columns at random
          cols = np.random.choice(
              X.columns, len(X.columns) // 2, replace=False
          )
          ss.learn_many(xb[cols])
  
file_path: river/river/preprocessing/test_scale.py
imports: from __future__ import annotations
  import math
  import numpy
  import pandas
  from river import datasets, preprocessing, stream
label_desc: Use image node_id 3 for calling a global function with example usage: test_standard_scaler_add_remove_columns() without return types