code: def get_trend_changepoint_dates_from_cols(trend_cols):
      """Gets the trend changepoint dates from trend changepoint column names.
  
      Parameters
      ----------
      trend_cols : `list[`str`]`
          List of trend changepoint column names. EX. "changepoint2_2018_01_05_00".
  
      Returns
      -------
      trend_changepoint_dates : `list[`timestamp`]`
          List of trend changepoint dates.
      """
      trend_changepoint_dates = []
      trend_cols = get_pattern_cols(
          trend_cols, f"^{CHANGEPOINT_COL_PREFIX}"
      )
      if trend_cols:
          for col in trend_cols:
              date = col.split("_")[1:]
              date = date + ["00"] * (
                  6 - len(date)
              )  # 6 means Y m d H M S
              date = f'{"-".join(date[:3])} {":".join(date[3:])}'  # Y-m-d H:M:S
              trend_changepoint_dates.append(pd.to_datetime(date))
      return trend_changepoint_dates
  
imports: import warnings
  from datetime import timedelta
  import numpy
  import pandas
  import plotly.graph_objects
  from pandas.plotting import register_matplotlib_converters
  from pandas.tseries.frequencies import to_offset
  from sklearn.linear_model import Lasso
  from sklearn.linear_model import LassoCV
  from sklearn.linear_model import LinearRegression
  from sklearn.linear_model import RidgeCV
  from greykite.common.constants import CHANGEPOINT_COL_PREFIX
  from greykite.common.constants import TimeFeaturesEnum
  from greykite.common.features.timeseries_features import add_time_features_df
  from greykite.common.features.timeseries_features import build_time_features_df
  from greykite.common.features.timeseries_features import fourier_series_multi_fcn
  from greykite.common.features.timeseries_features import get_changepoint_dates_from_changepoints_dict
  from greykite.common.features.timeseries_features import get_changepoint_features
  from greykite.common.features.timeseries_features import get_changepoint_features_and_values_from_config
  from greykite.common.features.timeseries_features import get_default_origin_for_time_vars
  from greykite.common.python_utils import get_pattern_cols
  from greykite.common.python_utils import unique_elements_in_list
label_desc: Use image node_id 17 for calling a global function with example usage: get_trend_changepoint_dates_from_cols(trend_cols) and returns: trend_changepoint_dates