1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Ë
KñúhAãóT—dZidd“dd“dd“dd“dd    “d
d “d d “dd“dd“dd“dd“dd“dd“dd“dd“dd“d d!“id"d#“d$d%“d&d'“d(d#“d)d*“d+d*“d,d-“d.d/“d0d“d1d“d2d3“d4d“d5d6“d7d8“d9d:“d;d<“d=d>“¥id?d@“dAdB“dCdD“dEdF“dGdH“dIdJ“dKdL“dMdN“dOdP“dQdP“dRdS“dTdU“dVdW“dXdY“dZd[“d\d]“d^d_“¥d`dadbdcddœ¥Zye)fzt
Dict of expired attributes that are discontinued since 2.0 release.
Each item is associated with a migration note.
Ú    geterrobjz,Use the np.errstate context manager instead.Ú    seterrobjÚcastz+Use `np.asarray(arr, dtype=dtype)` instead.Úsourcez Use `inspect.getsource` instead.Úlookforz&Search NumPy's documentation directly.Úwhoz3Use an IDE variable explorer or `locals()` instead.ÚfastCopyAndTransposezUse `arr.T.copy()` instead.Úset_numeric_opszšFor the general case, use `PyUFunc_ReplaceLoopBySignature`. For ndarray subclasses, define the ``__array_ufunc__`` method and override the relevant ufunc.ÚNINFzUse `-np.inf` instead.ÚPINFzUse `np.inf` instead.ÚNZEROzUse `-0.0` instead.ÚPZEROzUse `0.0` instead.Ú
add_newdocz,It's still available as `np.lib.add_newdoc`.Ú add_docstringz/It's still available as `np.lib.add_docstring`.Úadd_newdoc_ufuncz9It's an internal function and doesn't have a replacement.Ú    safe_evalzUse `ast.literal_eval` instead.Úfloat_zUse `np.float64` instead.Úcomplex_zUse `np.complex128` instead.Ú    longfloatzUse `np.longdouble` instead.Ú singlecomplexzUse `np.complex64` instead.ÚcfloatÚ longcomplexzUse `np.clongdouble` instead.Ú
clongfloatÚstring_zUse `np.bytes_` instead.Úunicode_zUse `np.str_` instead.ÚInfÚInfinityÚNaNzUse `np.nan` instead.ÚinftyÚissctypez*Use `issubclass(rep, np.generic)` instead.Úmaximum_sctypezUse a specific dtype instead. You should avoid relying on any implicit mechanism and select the largest dtype of a kind explicitly in the code.Ú
obj2sctypez!Use `np.dtype(obj).type` instead.Ú sctype2charz!Use `np.dtype(obj).char` instead.Úsctypesz!Access dtypes explicitly instead.Ú issubsctypezUse `np.issubdtype` instead.Úset_string_functionzXUse `np.set_printoptions` instead with a formatter for custom printing of NumPy objects.Úasfarrayz-Use `np.asarray` with a proper dtype instead.Ú issubclass_z!Use `issubclass` builtin instead.Útracemalloc_domainz!It's now available from `np.lib`.ÚmatzUse `np.asmatrix` instead.Ú
recfromcsvz1Use `np.genfromtxt` with comma delimiter instead.Ú
recfromtxtzUse `np.genfromtxt` instead.Ú    deprecatezTEmit `DeprecationWarning` with `warnings.warn` directly, or use `typing.deprecated`.Údeprecate_with_docÚdispz'Use your own printing function instead.Úfind_common_typez·Use `numpy.promote_types` or `numpy.result_type` instead. To achieve semantics for the `scalar_types` argument, use `numpy.result_type` and pass the Python values `0`, `0.0`, or `0j`.Úround_zUse `np.round` instead.Úget_array_wrapÚÚ
DataSourcez2It's still available as `np.lib.npyio.DataSource`.Únbytesz)Use `np.dtype(<dtype>).itemsize` instead.Ú byte_boundsz9Now it's available under `np.lib.array_utils.byte_bounds`z5It's still available as `np.char.compare_chararrays`.z/It's still available as `np.rec.format_parser`.zUse `np.all` instead.zUse `np.any` instead.)Úcompare_chararraysÚ format_parserÚalltrueÚsometrueN)Ú__doc__Ú__expired_attributes__©óúKH:\Change_password\venv_build\Lib\site-packages\numpy/_expired_attrs_2_0.pyú<module>r?s0ðñð
IØÐ?ðIàÐ?ðIð Ð 9ðIð Ð0ð    Ið
Ð8ð Ið 
Ð @ð IðÐ9ðIðð    +ðIð Ð $ðIð Ð #ðIð Ð "ðIð Ð !ðIð Ø6ð#Ið$Ø9ð'Ið(ØCð+Ið,Ð2ð-Ið. Ð)ñ/Ið0Ð.ð1Ið2Ð/ð3Ið4Ð2ð5Ið6 Ð,ð7Ið8Ð2ð9Ið:Ð1ð;Ið<Ð)ð=Ið>Ð(ð?Ið@
Ð "ðAIðBÐ'ðCIðD
Ð "ðEIðF Ð $ðGIðHÐ<ðIIðJð    )ðMIðRÐ5ðSIðTÐ6ðUIðVÐ2òWIðXÐ1ðYIðZð    ,ð]Ið`Ð?ðaIðbÐ6ðcIðdÐ=ðeIðf
Ð 'ðgIðhÐEðiIðjÐ0ðkIðlð&ðmIðpð0ðqIðt Ð 5ðuIðvð    NðyIð~ Ð'ðIð@bðAIðBÐFðCIðD Ð9ðEIðFÐNñGIðJ    @ØFØ&Ø'òQIÑr=