You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.
I tried to slice a numpy array but this doesn't work since Ruby doesn't understand Python's slice syntax. If I could create a slice object using the Python built-in slice function, I could get around this by passing a slice object to Numpy's getslice method, but afaik there's no way to access this.
Perhaps RubyPython could provide a built-in for this? Access to other Python built-ins would be nice as well, though less necessary. Specifically, access to len and type would be handy.
The text was updated successfully, but these errors were encountered:
I tried to slice a numpy array but this doesn't work since Ruby doesn't understand Python's slice syntax. If I could create a slice object using the Python built-in slice function, I could get around this by passing a slice object to Numpy's getslice method, but afaik there's no way to access this.
Perhaps RubyPython could provide a built-in for this? Access to other Python built-ins would be nice as well, though less necessary. Specifically, access to len and type would be handy.
The text was updated successfully, but these errors were encountered: