Hacker News new | ask | show | jobs
by agency 813 days ago
Yeah it seems like a common pattern for custom protocols, like the proposed DataFrame interchange protocol[1] which uses a __dataframe__ method

[1] https://data-apis.org/dataframe-protocol/latest/