Kamil
Kamil
- [x] tests added / passed. - [x] code/documentation is well formatted. - [x] properly formatted commit message. See [NumPy's guide](https://docs.scipy.org/doc/numpy-1.15.1/dev/gitwash/development_workflow.html#writing-the-commit-message). ENH - [ConditionalMNLogit](https://github.com/statsmodels/statsmodels/blob/main/statsmodels/discrete/conditional_models.py) class: in `loglike` method replaces the...
I want to try to apply vector operations instead of cycles, which gives a performance boost. Are such improvements accepted? For example file 'gmm.py' function 'likelihood_lower_bound'. If so, is it...
the '_erc_weights_slqp'(core.py) function has a 'fitness' function inside. I would like to improve the piece of code (fitness): ``` sse = 0.0 for i in range(n): for j in range(n):...
This PR removes the warning: ``` tests/test_categorical.py: 35 warnings /home/runner/work/seaborn/seaborn/tests/test_categorical.py:1209: DeprecationWarning: `in1d` is deprecated. Use `np.isin` instead. assert np.in1d( ``` Replacement of obsolete [np.in1d](https://numpy.org/doc/stable/reference/generated/numpy.in1d.html) with np.isin.
- [x] tests added / passed. - [x] code/documentation is well formatted. - [x] properly formatted commit message. See [NumPy's guide](https://docs.scipy.org/doc/numpy-1.15.1/dev/gitwash/development_workflow.html#writing-the-commit-message). This PR reduces the calculation time of methods:` loglike`,...
Checklist before merging this PR: - [x] Mentioned all issues that this PR fixes or addresses. - [ ] Summarized the updates of this PR under **Summary**. - [ ]...
[DataFrame.applymap](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.applymap.html) has been deprecated. I'd like to do a PR to fix this. What does the community think? Warning: ``` darts/tests/test_timeseries_multivariate.py::TestTimeSeries::test_map /darts/darts/tests/test_timeseries.py:1449: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead....
Contributes to #11320 There are many test failures where numbers do not match when printed in the new [numpy >= 2](https://stackoverflow.com/questions/78630047/how-to-stop-numpy-floats-being-displayed-as-np-float64) (the number is printed with the type). This is...
Contributes to #1501 This PR removes the warning: ``` DeprecationWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, pd.CategoricalDtype) instead not pdt.is_categorical_dtype(series) ```
### Pull Request Description This PR removes the warnings: `FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent...