Skip to content

Problem with sktime data when using Google Colab, but not when running the same code in a local Jupyter notebook. #6415

Answered by fkiraly
emammendes asked this question in Q&A
Discussion options

You must be logged in to vote

That's really hard to tell without the actual code.

A general comment I can add on this, the nested_univ datatype - the nested data container - is becoming increasingly glitchy and unstable across environment configurations and operating systems since pandas 2, due to changes in how nested structures are handled, and lack of official support.

We therefore recommend to avoid the nested_univ data container specification where possible, and instead work with numpy3D or pd-multiindex specifications.

For instance, the line X_nested.iloc[i, 0] = pd.Series(df[which_var].iloc[i:i+window_size].values) works on some pandas versions, but I think it does not work the same on newer ones, as the behavi…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@emammendes
Comment options

@fkiraly
Comment options

@emammendes
Comment options

Answer selected by fkiraly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
module:datatypes datatypes module: data containers, checkers & converters
2 participants