-
Notifications
You must be signed in to change notification settings - Fork 139
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
stored type DataFrames.Index does not match currently loaded type #158
Comments
I got the same message when I saved a BitArray. However, I can still load the array (saved as variable "arr") if I say "load(filename,"arr")", it just doesn't work when I simply run "load(filename)". |
When you reload the object, are you within the same module? If you can reproduce with an explicit, short testcase, that would be tremendously helpful. |
Not sure what you mean. At the moment my module imports hdf5 via using, so mymod.load(object) With the error. Should I rather define a function inside the module function loaddata() ? On Sunday, 5 October 2014, Tim Holy notifications@github.com wrote:
|
Maybe. I'm not quite sure what you're trying. My main point is that it may be a scoping problem. (The converse question is: if you save the same data from the REPL, does loading it from the REPL work?) |
did verify that the below works. as far as I can see that's more or less what I'm doing, so I'm a bit stuck. currently waiting for the computation to finish so I can try and save from the REPL. I really just have a dict like the one in the example below.
|
so here is what I have got in my real world problem. I tried saving and loading from the REPL, same result.
|
If you can come up with a test case that reproduces this or send a file to simon@simonster.com, I'll take a look. |
thanks for that, i'll see what i can do. it's odd because if I don't include the two very big objects "Baseline" and "Policy", everything works fine. must be something i'm doing to those dataframes? the fact they are so big makes it pretty much impossible to send as an email though i think. anyway, do you think it's useful to look at those objects? maybe we can use some filesharing thing? |
Can you give the output of |
hi!
i'm not sure how to get around this error. I save a dict with several dataframes in one session from within
Module mig
. then in another session i want to load the object. Am I doing something wrong here?mig
isThe text was updated successfully, but these errors were encountered: