This doesn't happen in-place, so this needs to be changed to:

```python
self._data = self._data.tocsc()
```