summaryrefslogtreecommitdiff
path: root/doc/release/upcoming_changes/15119.deprecation.rst
blob: d18e440fe0e7d32ab6ef1e073d8221e27d2aae8b (plain)
1
2
3
4
5
6
7
8

Deprecate automatic ``dtype=object`` for ragged input
-----------------------------------------------------
Calling ``np.array([[1, [1, 2, 3]])`` will issue a ``DeprecationWarning`` as
per `NEP 34`_. Users should explicitly use ``dtype=object`` to avoid the
warning.

.. _`NEP 34`: https://numpy.org/neps/nep-0034.html