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
I would expect (select-rows ds number) acts as (select-rows ds [number])
(select-rows ds number)
(select-rows ds [number])
(def DS (ds/->dataset (take 50 (cycle [{:a 1} {:b 2} {:a 3 :b 5}])))) (ds/select-rows DS [11]) ;; => _unnamed [1 2]: ;; | :a | :b | ;; |----|----| ;; | 3 | 5 | (ds/select-rows DS 11) ;; => _unnamed [11 2]: ;; | :a | :b | ;; |----|----| ;; | 1 | | ;; | 1 | | ;; | 1 | | ;; | 1 | | ;; | 1 | | ;; | 1 | | ;; | 1 | | ;; | 1 | | ;; | 1 | | ;; | 1 | | ;; | 1 | |
The text was updated successfully, but these errors were encountered:
Yes, that matches numpy and the tensor select api. A numeric constant means select exactly that row.
Sorry, something went wrong.
f389625
No branches or pull requests
I would expect
(select-rows ds number)
acts as(select-rows ds [number])
The text was updated successfully, but these errors were encountered: