code: def dataframe_append(df: pd.DataFrame, other: Any) -> pd.DataFrame:
      # dataframe.append is deprecated
      other_df = pd.DataFrame(other).set_index("datetime")
      other_df.index.name = "datetime"
  
      res = pd.concat([df, other_df], axis=0)
      return res
  
file_path: qlib/qlib/rl/order_execution/utils.py
imports: from __future__ import annotations
  from typing import Any, cast
  import numpy
  import pandas
  from qlib.backtest.decision import OrderDir
  from qlib.backtest.executor import BaseExecutor, NestedExecutor, SimulatorExecutor
  from qlib.constant import float_or_ndarray
label_desc: Use image node_id 1 for calling a global function with example usage: dataframe_append(df, other) and returns: res