series shows the datatime vs. the value column.
255
Figure
6-53
shows the code to generate a graph showing the time series.
Let’s add the anomaly column to the original dataframe and prepare a new
dataframe. Using visualization, you can plot the new time series now. As shown below,
the time series shows the datatime vs. the value column. Normal data points are shown
in green and anomalies are shown in red. Figure
6-54
shows the code to generate a graph
showing anomalies.
Do'stlaringiz bilan baham: