-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
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
[DYNOTEARS] TypeError: Index must be integers #86
Comments
On that note, would you you be able to share what is the Pandas and numpy version you are using? |
You're welcome! Here are the versions below: P.S. I have tried that and similar commands for changing Let me know if I can help with some further info |
A more robust integer type checking has been implemented in this commit and will be available in the next CausalNex release. |
Description
Hi, I have a problem when running DYNOTEARS on top of dataframe.
Seems like the method does not recognise that
df.index
isint
.Steps to Reproduce
from_numpy_dynamic
orfrom_pandas_dynamic
on other dataframes, which have indexes as integers, in increasing orderExpected Result
Executing dynotears on top of dataframe
Actual Result
TypeError: Index must be integers
Your Environment
The text was updated successfully, but these errors were encountered: