-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
not be able to query data after reading from csv #22
Comments
Can you provide some rows of example from csv? |
I used the same example in your github.
|
Yes, the problem is in eval function that is used in frame.js if (eval(`${elem}${operator}${value}`)) {
new_data.push(data_value);
new_index.push(index[i]);
} becase eval function resolve the string to if (eval(`elem${operator}value`)) {
new_data.push(data_value);
new_index.push(index[i]);
} and get the correct output change it locally while fixing on main branch, the file is in /danfojs-node/dist/core/frame.js |
thanks, is it going to be in the next release? |
I open a pull request with the fix :) |
@JhennerTigreros |
Merged! Thanks folks |
I'm using the version suggested in the repository README.md file |
I am reading data from a csv file. I want to query data with a very simple statement:
it gives me this error:
ReferenceError: bar is not defined
and "bar" is one of the values in column "A"The text was updated successfully, but these errors were encountered: