Skip to content

Commit

Permalink
Update trend classification algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
rosericazondekon committed May 31, 2023
1 parent 1ef5a9e commit 4150b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynssp/detectors/trend.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def classify_trend(df, t='date', data_count='dataCount', all_count='allCount', B
>>> df = pd.DataFrame({
... "date": pd.date_range("2020-01-01", "2020-12-31"),
... "dataCount": np.random.randint(0, 101, size=366),
... "allCount": np.random.randint(0, 101, size=366)
... "allCount": np.random.randint(101, 500, size=366)
... })
>>> df_trend = classify_trend(df)
>>> df_trend.head()
Expand Down

0 comments on commit 4150b01

Please sign in to comment.