We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
JavaScript now supports underscores as separators in numeric literals, however, Arquero table expressions do not support this.
Replication code:
let dt = aq.table({ 'col1': [1_000, 2_001, 3_123], }); dt = dt.derive({ col1_gt_2k: d => d.col1 > 2_000 });
Expected result:
dt has the same value as if the code execute was:
dt
dt = dt.derive({ col1_gt_2k: d => d.col1 > 2000 })
Observed result:
The following error is thrown:
Error: Expression parse error: d => d.col1 > 2_000
The text was updated successfully, but these errors were encountered:
No branches or pull requests
JavaScript now supports underscores as separators in numeric literals, however, Arquero table expressions do not support this.
Replication code:
Expected result:
dt
has the same value as if the code execute was:Observed result:
The following error is thrown:
The text was updated successfully, but these errors were encountered: