kodeagent.agents.csv_agent.find_trends#
- kodeagent.agents.csv_agent.find_trends(numeric_column: str, time_column: str) str[source]#
Analyse how a numeric column changes over time. Returns direction, magnitude of change, and whether the trend reversed.
- Parameters:
numeric_column – The numeric column to analyse.
time_column – The time/date column to use as x-axis.
- Returns:
A JSON string or error message describing the detected trend.