(obj)
| 300 | |
| 301 | @sizeof.register(xr.core.indexes.PandasIndex) |
| 302 | def xarray_sizeof_pd_index(obj): |
| 303 | return ( |
| 304 | sys.getsizeof(obj) |
| 305 | + sizeof(obj.index) |
| 306 | + sizeof(obj.dim) |
| 307 | + sizeof(obj.coord_dtype) |
| 308 | ) |
| 309 | |
| 310 | |
| 311 | def _register_entry_point_plugins(): |
nothing calls this directly
no outgoing calls
no test coverage detected