docstr: Test concatenation with static covariates along sample dimension (axis=2)
  Along sample dimension, we only take the static covariates of the first series (as we components and
  time don't change).
docstr_tok: ["Test","concatenation","with","static","covariates","along","sample","dimension","(","axis=2",")","Along","sample","dimension",",","we","only","take","the","static","covariates","of","the","first","series","(","as","we","components","and","time","do","n't","change",")","."]
code: def test_concatenate_dim_samples(self):
      """
      Test concatenation with static covariates along sample dimension (axis=2)
      Along sample dimension, we only take the static covariates of the first series (as we components and
      time don't change).
      """
      static_covs_left = pd.DataFrame(
          [[0, 1]], columns=["st1", "st2"]
      ).astype(int)
      static_covs_right = pd.DataFrame(
          [[3, 4]], columns=["st3", "st4"]
      ).astype(int)
  
      ts_left = linear_timeseries(length=10).with_static_covariates(
          static_covs_left
      )
      ts_right = linear_timeseries(length=10).with_static_covariates(
          static_covs_right
      )
  
      ts_concat = concatenate([ts_left, ts_right], axis=2)
      assert ts_concat.static_covariates.equals(
          ts_left.static_covariates
      )
  
imports: import copy
  import os
  import numpy
  import pandas
  import pytest
  from darts import TimeSeries, concatenate
  from darts.dataprocessing.transformers import BoxCox, Scaler
  from darts.timeseries import DEFAULT_GLOBAL_STATIC_COV_NAME, STATIC_COV_TAG
  from darts.utils.timeseries_generation import generate_index, linear_timeseries
label_desc: Use image node_id 9 for calling the TestTimeSeriesStaticCovariate obj's underlying member method code with example usage: obj.test_concatenate_dim_samples() without return types