We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run my code as doc write, nothing happen in win or mac:
import pandas as pd import matplotlib.pyplot as plt import numpy as np from adtk.data import validate_series from adtk.visualization import plot from adtk.transformer import RollingAggregate from adtk.transformer import DoubleRollingAggregate from adtk.detector import ThresholdAD #dt1 = pd.date_range(start="20190101", end="20190831", freq="D") dt2 = pd.date_range(start="20190101", periods=10, freq="10D") df2 = pd.DataFrame(np.arange(20).reshape((10, 2)), index=dt2,columns=['A','B']) print(df2) #print(df2.index) df2 = validate_series(df2) plot(df2)
The text was updated successfully, but these errors were encountered:
version 0.6.2
Sorry, something went wrong.
I encountered the same problem, and I reported an error. How to solve this problem temporarily?
My question link: ValueError: Multi-dimensional indexing (e.g. obj[:, None]) is no longer supported. Convert to a numpy array before indexing instead.
In the file of https://github.com/arundo/adtk/blob/v0.6.2/tests/test_visualization.ipynb, The example does not use df, does it mean it does not support df?
No branches or pull requests
run my code as doc write, nothing happen in win or mac:
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
from adtk.data import validate_series
from adtk.visualization import plot
from adtk.transformer import RollingAggregate
from adtk.transformer import DoubleRollingAggregate
from adtk.detector import ThresholdAD
#dt1 = pd.date_range(start="20190101", end="20190831", freq="D")
dt2 = pd.date_range(start="20190101", periods=10, freq="10D")
df2 = pd.DataFrame(np.arange(20).reshape((10, 2)), index=dt2,columns=['A','B'])
print(df2)
#print(df2.index)
df2 = validate_series(df2)
plot(df2)
The text was updated successfully, but these errors were encountered: