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
Describe the bug Series.loc can accept a series of bools, but this is not reflected in the type signature.
This shows a type error in VSCode:
const dfd = require("danfojs-node") let s = new dfd.Series([12, 34, 2.2, 2, 30, 30, 2.1, 7]) s.loc(s.gt(20)).print()
Error:
Argument of type 'Series' is not assignable to parameter of type '(string | number | boolean)[]'
Expected behavior No type errors :)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Series.loc can accept a series of bools, but this is not reflected in the type signature.
This shows a type error in VSCode:
Error:
Expected behavior
No type errors :)
The text was updated successfully, but these errors were encountered: