You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should print a deprecation because the syntax DF_0Hz_short["<Ewe>/V"] is not supported. It was supported many years ago, and we left a depwarn for some time for the users to accommodate their legacy code. In 2 weeks from now it will error.
The correct syntax is DF_0Hz_short."<Ewe>/V" or equivalently DF_0Hz_short.[!, "<Ewe>/V"] or if you want to copy the vector you extract from the data frame: DF_0Hz_short.[:, "<Ewe>/V"].
Maybe as an additional comment - DataFrame is a 2-dimensional object, so for consistency when using indexing syntax df[...] it requires two dimensions to be passed. It is not much more typing but avoids confusion.
This deprecation warning is very unclear to me since the only thing I'm doing is the following,
I don't see why this slicing should lead to deprecation warnings.
The text was updated successfully, but these errors were encountered: