-
Notifications
You must be signed in to change notification settings - Fork 6
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
Column expanded
in meta.csv
contains NaN
values
#115
Comments
Hi @rubencart, please be more specific when you describe any issue in ChoCo. |
Sorry, I thought the question was clear. The provided meta.csv file in its expanded column contains 3 values: True, False and something that pandas considers as NaN. My question is what do these 3 values represent?
df = pd.read_csv('data/.../meta.csv')
(df.expanded == True).sum()
Out[1]: 8202
(df.expanded == False).sum()
Out[2]: 6006
df.expanded.isna().sum()
Out[3]: 5878
len(df)
Out[4]: 20086
8202 + 6006 + 5878
Out[5]: 20086 |
Thanks for clarifying. At the moment, the script generating the Instead, to address your first question, expansion (for a score-based annotation) means that the score "has been expanded" to flatten out all the repetitions. For example, if a sequence of bars (with chord annotations) has a repeat sign, what we basically do is to expand the score by actually unrolling the repetition (as if the score is performed). This happens for all the |
I see, thank you! |
What do these mean?
The text was updated successfully, but these errors were encountered: