Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To be precise, you could model the same behavior on your custom types by using the dunder method magic. In that case, everything is "valid" Python code.

Numpy and Pandas libraries have some non-standard ways to slice arrays, get the subarrays and the data from them.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: