Oscar Gustafsson

Results 474 comments of Oscar Gustafsson

I tested the solve that @smichr gave as an example with #21911 and it returns: ``` [(c/a)**(1/3), (c/a)**(1/3)*(-1 + sqrt(3)*I)/2, -(c/a)**(1/3)*(1 + sqrt(3)*I)/2] ```

It seems like `to_numpy` is not converting the `NA` values. Conditionally if `dtype=object`. ``` In [5]: df Out[5]: col1 col2 0 1 3 1 2 In [6]: df.to_numpy() Out[6]: array([[1,...

Pandas has a keyword argument `na_value` that can be use to replace the `NA` values during conversion. https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.to_numpy.html However, xarray does not.

There seems to be alternative bindings now: https://pypi.org/project/freetype-py/

Those files should be skipped based on https://github.com/VUnit/vunit/blob/4e30fa124ea84609af0f957dbc55b82adaed1d76/tests/lint/test_license.py#L148 I think it may be a consequence of running the tests from a "strange" location or running the tests from a source...

Also see #23205 that contains a link to the PDF specification and points out a problem with the current approach above.

Note that in #23286 a function is added that avoids a bit of code duplication, so rather than copying the whole block one calls a function with relevant parameters that...

Regarding signal processing, I'd inclined towards deprecating mlab (been trying to move those with history to the very drafty https://github.com/oscargus/mplsignal but to no avail so far). But isn't having a...

Yeah, I checked the code and it is not obvious how to figure out if a wave file is written from where the JUnit file is generated. #4854 will make...

Can you please also show the resulting images? Most likely the scaling has changed a bit for some reason, but hard to say without seeing the new images (the expected...