code: def get_trendline(df, date0, date1, column="close", **kwargs):
      df = pd.DataFrame(df[column])
      d = {
          "x0": date0,
          "x1": date1,
          "y0": df.loc[date0].values[0],
          "y1": df.loc[date1].values[0],
      }
      d.update(**kwargs)
      return d
  
imports: import copy
  import numpy
  import pandas
  import plotly.offline
  import plotly.figure_factory
  from plotly.graph_objs import Figure, Scatter, Line
  from plotly.subplots import make_subplots
  from .None import themes
  from .None import auth, ta
  from .colors import normalize, to_rgba
  from .utils import check_kwargs, deep_update, dict_replace_keyword, kwargs_from_keyword, merge_dict, is_list, make_list
label_desc: Use image node_id 25 for calling a global function with example usage: get_trendline(df, date0, date1, column) and returns: d