Justus Magin

Results 82 issues of Justus Magin

At the moment, this is an alias of `.pint.dequantify()`, but it could just as well be something similar to: ``` python dequantified = da.pint.dequantify() dequantified.attrs.pop("units", None) magnitude = dequantified.pint.quantify() ```...

As mentioned in #162, it is possible to get the indexing functions to work, although there still is no public API. I also still don't quite understand how other methods...

run-upstream

Towards #1 With the index refactor coming along nicely, we should start looking into what might be needed to implement a `PintMetaIndex` to get the missing indexing functionality (`sel`/`drop_sel`/`reindex`/...) to...

Right now, trying to use the `.plot` accessor without dequantifying first will strip the units so `matplotlib` never sees the quantities and can't use the converter registered by `UnitRegistry.setup_matplotlib()`. This...

There have been a few issues about conflicts with the magnitude formats (mostly the `#` quantity modifier, see #1413), and the code to separate magnitude spec from unit spec is...

Now that it is available, we should test with the new release. Edit: it seems the macos version is not available?

The `doctest` format can appear in both python code and other formats, but docstrings need special attention: naive reformatting may cause triple-quoted strings to conflict with the docstring quotes. To...

Right now, the test suite contains only unit tests, leaving the code in `__main__.py` untested. That code should be moved to a different module and covered by integration tests.

The test coverage is not ideal right now: ``` Name Stmts Miss Cover ----------------------------------------------------------- blackdoc/__init__.py 10 5 50% blackdoc/blacken.py 34 22 35% blackdoc/classification.py 13 2 85% blackdoc/formats/__init__.py 20 12 40%...

The docstring of `DataTree.from_dict` claims that it allows having `DataTree` objects as values, but both the type hints and the code disagree (the code fails because `DataTree(DataTree())` does not work)....

bug