code: def add_time_features_df(
      df, time_col, conti_year_origin, add_dst_info=True
  ):
      """Adds a time feature data frame to a data frame by calling
      `~greykite.common.features.timeseries_features.build_time_features_df`.
  
      Parameters
      ----------
      df : `pandas.Dataframe`
          The input data frame
      time_col: `str`
          The name of the time column of interest
      conti_year_origin:
          The origin of time for the continuous time variable which is in years unit.
      add_dst_info : `bool`, default True
          Determines if daylight saving columns for US and Europe should be added.
  
      Returns
      -------
      result : `pandas.Dataframe`
          The same data frame (df) augmented with new columns generated by
          `~greykite.common.features.timeseries_features.build_time_features_df`
      """
      df = df.reset_index(drop=True)
      time_df = build_time_features_df(
          dt=df[time_col],
          conti_year_origin=conti_year_origin,
          add_dst_info=add_dst_info,
      )
      time_df = time_df.reset_index(drop=True)
      return pd.concat([df, time_df], axis=1)
  
imports: import math
  from datetime import datetime
  from datetime import timedelta
  import numpy
  import pandas
  import pytz
  from holidays_ext import get_holidays
  from pandas.tseries.frequencies import to_offset
  from scipy.special import expit
  from greykite.common import constants
  from greykite.common.python_utils import split_offset_str
label_desc: Use image node_id 10 for calling a global function with example usage: add_time_features_df(df, time_col, conti_year_origin, add_dst_info) and returns: pd