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

ValueError: 'video' is both an index level and a column label, which is ambiguous. #2

Open
sivashakthi opened this issue Mar 14, 2022 · 0 comments

Comments

@sivashakthi
Copy link

I am trying to run the code as is. But master.py is raising an exception when it calls build_features.main(data_set)., at the line around 98

feature_xy = pd.pivot_table(feature_xy, index='video', columns=['bp']).

I tried to work around it by renaming the columns video and bp, but the code raised another exception because the merged features had "non-finite" values.

The data contains non-finite values.

at the line

ref_stats = features[features.category ==0].groupby(['feature_name','age_bracket', 'part'])['Value']
.apply(norm.fit).reset_index()

in the file compute_surprise.py

Any ideas on how to fix this?

Thanks,
Siva

image

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