Skip to content
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

IllegalArgumentException: name 'x' not in index #119

Open
giottolee opened this issue Aug 31, 2022 · 0 comments
Open

IllegalArgumentException: name 'x' not in index #119

giottolee opened this issue Aug 31, 2022 · 0 comments

Comments

@giottolee
Copy link

i'm tring to use dataframe calculating the statistic feature, i don't know why it throws IllegaArgumentException. I debug it and it looks right. This is my code and dataframe object.

String dimension = "x";
Double mean = (Double) sensorSlice.mean().col(dimension).get(0);
Double max = (Double) sensorSlice.max().col(dimension).get(0);
Double min = (Double) sensorSlice.min().col(dimension).get(0);
Double std = (Double) sensorSlice.stddev().col(dimension).get(0);

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant