| ofs | hex dump | ascii |
|---|
| 0000 | cb 0d 0d 0a 00 00 00 00 0d fd a7 68 78 1e 00 00 e3 00 00 00 00 00 00 00 00 00 00 00 00 06 00 00 | ...........hx................... |
| 0020 | 00 00 00 00 00 f3 d2 00 00 00 97 00 64 00 5a 00 67 00 64 01 a2 01 5a 01 64 02 02 00 65 02 ab 00 | ............d.Z.g.d...Z.d...e... |
| 0040 | 00 00 00 00 00 00 76 00 72 08 02 00 65 03 64 03 ab 01 00 00 00 00 00 00 82 01 64 04 5a 04 02 00 | ......v.r...e.d...........d.Z... |
| 0060 | 47 00 64 05 84 00 64 06 65 05 ab 03 00 00 00 00 00 00 5a 06 02 00 47 00 64 07 84 00 64 08 65 07 | G.d...d.e.........Z...G.d...d.e. |
| 0080 | ab 03 00 00 00 00 00 00 5a 08 02 00 47 00 64 09 84 00 64 0a 65 09 ab 03 00 00 00 00 00 00 5a 0a | ........Z...G.d...d.e.........Z. |
| 00a0 | 02 00 47 00 64 0b 84 00 64 0c 65 05 ab 03 00 00 00 00 00 00 5a 0b 02 00 47 00 64 0d 84 00 64 0e | ..G.d...d.e.........Z...G.d...d. |
| 00c0 | 65 03 ab 03 00 00 00 00 00 00 5a 0c 02 00 47 00 64 0f 84 00 64 10 65 0d 65 0e ab 04 00 00 00 00 | e.........Z...G.d...d.e.e....... |
| 00e0 | 00 00 5a 0f 02 00 47 00 64 11 84 00 64 12 65 10 ab 03 00 00 00 00 00 00 5a 11 79 13 29 14 61 92 | ..Z...G.d...d.e.........Z.y.).a. |
| 0100 | 03 00 00 0a 45 78 63 65 70 74 69 6f 6e 73 20 61 6e 64 20 57 61 72 6e 69 6e 67 73 0a 3d 3d 3d 3d | ....Exceptions.and.Warnings.==== |
| 0120 | 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 0a 47 65 6e 65 72 61 6c 20 65 78 63 | ===================..General.exc |
| 0140 | 65 70 74 69 6f 6e 73 20 75 73 65 64 20 62 79 20 4e 75 6d 50 79 2e 20 20 4e 6f 74 65 20 74 68 61 | eptions.used.by.NumPy...Note.tha |
| 0160 | 74 20 73 6f 6d 65 20 65 78 63 65 70 74 69 6f 6e 73 20 6d 61 79 20 62 65 20 6d 6f 64 75 6c 65 0a | t.some.exceptions.may.be.module. |
| 0180 | 73 70 65 63 69 66 69 63 2c 20 73 75 63 68 20 61 73 20 6c 69 6e 65 61 72 20 61 6c 67 65 62 72 61 | specific,.such.as.linear.algebra |
| 01a0 | 20 65 72 72 6f 72 73 2e 0a 0a 2e 2e 20 76 65 72 73 69 6f 6e 61 64 64 65 64 3a 3a 20 4e 75 6d 50 | .errors......versionadded::.NumP |
| 01c0 | 79 20 31 2e 32 35 0a 0a 20 20 20 20 54 68 65 20 65 78 63 65 70 74 69 6f 6e 73 20 6d 6f 64 75 6c | y.1.25......The.exceptions.modul |
| 01e0 | 65 20 69 73 20 6e 65 77 20 69 6e 20 4e 75 6d 50 79 20 31 2e 32 35 2e 20 20 4f 6c 64 65 72 20 65 | e.is.new.in.NumPy.1.25...Older.e |
| 0200 | 78 63 65 70 74 69 6f 6e 73 20 72 65 6d 61 69 6e 0a 20 20 20 20 61 76 61 69 6c 61 62 6c 65 20 74 | xceptions.remain.....available.t |
| 0220 | 68 72 6f 75 67 68 20 74 68 65 20 6d 61 69 6e 20 4e 75 6d 50 79 20 6e 61 6d 65 73 70 61 63 65 20 | hrough.the.main.NumPy.namespace. |
| 0240 | 66 6f 72 20 63 6f 6d 70 61 74 69 62 69 6c 69 74 79 2e 0a 0a 2e 2e 20 63 75 72 72 65 6e 74 6d 6f | for.compatibility......currentmo |
| 0260 | 64 75 6c 65 3a 3a 20 6e 75 6d 70 79 2e 65 78 63 65 70 74 69 6f 6e 73 0a 0a 57 61 72 6e 69 6e 67 | dule::.numpy.exceptions..Warning |
| 0280 | 73 0a 2d 2d 2d 2d 2d 2d 2d 2d 0a 2e 2e 20 61 75 74 6f 73 75 6d 6d 61 72 79 3a 3a 0a 20 20 20 3a | s.--------....autosummary::....: |
| 02a0 | 74 6f 63 74 72 65 65 3a 20 67 65 6e 65 72 61 74 65 64 2f 0a 0a 20 20 20 43 6f 6d 70 6c 65 78 57 | toctree:.generated/.....ComplexW |
| 02c0 | 61 72 6e 69 6e 67 20 20 20 20 20 20 20 20 20 20 20 20 20 47 69 76 65 6e 20 77 68 65 6e 20 63 6f | arning.............Given.when.co |
| 02e0 | 6e 76 65 72 74 69 6e 67 20 63 6f 6d 70 6c 65 78 20 74 6f 20 72 65 61 6c 2e 0a 20 20 20 56 69 73 | nverting.complex.to.real.....Vis |
| 0300 | 69 62 6c 65 44 65 70 72 65 63 61 74 69 6f 6e 57 61 72 6e 69 6e 67 20 20 53 61 6d 65 20 61 73 20 | ibleDeprecationWarning..Same.as. |
| 0320 | 61 20 44 65 70 72 65 63 61 74 69 6f 6e 57 61 72 6e 69 6e 67 2c 20 62 75 74 20 6d 6f 72 65 20 76 | a.DeprecationWarning,.but.more.v |
| 0340 | 69 73 69 62 6c 65 2e 0a 20 20 20 52 61 6e 6b 57 61 72 6e 69 6e 67 20 20 20 20 20 20 20 20 20 20 | isible.....RankWarning.......... |
| 0360 | 20 20 20 20 20 20 49 73 73 75 65 64 20 77 68 65 6e 20 74 68 65 20 64 65 73 69 67 6e 20 6d 61 74 | ......Issued.when.the.design.mat |
| 0380 | 72 69 78 20 69 73 20 72 61 6e 6b 20 64 65 66 69 63 69 65 6e 74 2e 0a 0a 45 78 63 65 70 74 69 6f | rix.is.rank.deficient...Exceptio |
| 03a0 | 6e 73 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 2e 2e 20 61 75 74 6f 73 75 6d 6d 61 72 79 3a 3a 0a 20 | ns.----------....autosummary::.. |
| 03c0 | 20 20 3a 74 6f 63 74 72 65 65 3a 20 67 65 6e 65 72 61 74 65 64 2f 0a 0a 20 20 20 20 41 78 69 73 | ..:toctree:.generated/......Axis |
| 03e0 | 45 72 72 6f 72 20 20 20 20 20 20 20 20 20 20 47 69 76 65 6e 20 77 68 65 6e 20 61 6e 20 61 78 69 | Error..........Given.when.an.axi |
| 0400 | 73 20 77 61 73 20 69 6e 76 61 6c 69 64 2e 0a 20 20 20 20 44 54 79 70 65 50 72 6f 6d 6f 74 69 6f | s.was.invalid......DTypePromotio |
| 0420 | 6e 45 72 72 6f 72 20 20 20 47 69 76 65 6e 20 77 68 65 6e 20 6e 6f 20 63 6f 6d 6d 6f 6e 20 64 74 | nError...Given.when.no.common.dt |
| 0440 | 79 70 65 20 63 6f 75 6c 64 20 62 65 20 66 6f 75 6e 64 2e 0a 20 20 20 20 54 6f 6f 48 61 72 64 45 | ype.could.be.found......TooHardE |
| 0460 | 72 72 6f 72 20 20 20 20 20 20 20 45 72 72 6f 72 20 73 70 65 63 69 66 69 63 20 74 6f 20 60 6e 75 | rror.......Error.specific.to.`nu |
| 0480 | 6d 70 79 2e 73 68 61 72 65 73 5f 6d 65 6d 6f 72 79 60 2e 0a 0a 29 06 da 0e 43 6f 6d 70 6c 65 78 | mpy.shares_memory`...)...Complex |
| 04a0 | 57 61 72 6e 69 6e 67 da 19 56 69 73 69 62 6c 65 44 65 70 72 65 63 61 74 69 6f 6e 57 61 72 6e 69 | Warning..VisibleDeprecationWarni |
| 04c0 | 6e 67 da 18 4d 6f 64 75 6c 65 44 65 70 72 65 63 61 74 69 6f 6e 57 61 72 6e 69 6e 67 da 0c 54 6f | ng..ModuleDeprecationWarning..To |
| 04e0 | 6f 48 61 72 64 45 72 72 6f 72 da 09 41 78 69 73 45 72 72 6f 72 da 13 44 54 79 70 65 50 72 6f 6d | oHardError..AxisError..DTypeProm |
| 0500 | 6f 74 69 6f 6e 45 72 72 6f 72 da 0a 5f 69 73 5f 6c 6f 61 64 65 64 7a 27 52 65 6c 6f 61 64 69 6e | otionError.._is_loadedz'Reloadin |
| 0520 | 67 20 6e 75 6d 70 79 2e 5f 67 6c 6f 62 61 6c 73 20 69 73 20 6e 6f 74 20 61 6c 6c 6f 77 65 64 54 | g.numpy._globals.is.not.allowedT |
| 0540 | 63 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 f3 10 00 00 00 97 00 65 00 5a 01 | c...........................e.Z. |
| 0560 | 64 00 5a 02 64 01 5a 03 79 02 29 03 72 02 00 00 00 7a df 0a 20 20 20 20 54 68 65 20 77 61 72 6e | d.Z.d.Z.y.).r....z......The.warn |
| 0580 | 69 6e 67 20 72 61 69 73 65 64 20 77 68 65 6e 20 63 61 73 74 69 6e 67 20 61 20 63 6f 6d 70 6c 65 | ing.raised.when.casting.a.comple |
| 05a0 | 78 20 64 74 79 70 65 20 74 6f 20 61 20 72 65 61 6c 20 64 74 79 70 65 2e 0a 0a 20 20 20 20 41 73 | x.dtype.to.a.real.dtype.......As |
| 05c0 | 20 69 6d 70 6c 65 6d 65 6e 74 65 64 2c 20 63 61 73 74 69 6e 67 20 61 20 63 6f 6d 70 6c 65 78 20 | .implemented,.casting.a.complex. |
| 05e0 | 6e 75 6d 62 65 72 20 74 6f 20 61 20 72 65 61 6c 20 64 69 73 63 61 72 64 73 20 69 74 73 20 69 6d | number.to.a.real.discards.its.im |
| 0600 | 61 67 69 6e 61 72 79 0a 20 20 20 20 70 61 72 74 2c 20 62 75 74 20 74 68 69 73 20 62 65 68 61 76 | aginary.....part,.but.this.behav |
| 0620 | 69 6f 72 20 6d 61 79 20 6e 6f 74 20 62 65 20 77 68 61 74 20 74 68 65 20 75 73 65 72 20 61 63 74 | ior.may.not.be.what.the.user.act |
| 0640 | 75 61 6c 6c 79 20 77 61 6e 74 73 2e 0a 0a 20 20 20 20 4e a9 04 da 08 5f 5f 6e 61 6d 65 5f 5f da | ually.wants.......N....__name__. |
| 0660 | 0a 5f 5f 6d 6f 64 75 6c 65 5f 5f da 0c 5f 5f 71 75 61 6c 6e 61 6d 65 5f 5f da 07 5f 5f 64 6f 63 | .__module__..__qualname__..__doc |
| 0680 | 5f 5f a9 00 f3 00 00 00 00 fa 57 2f 68 6f 6d 65 2f 62 6c 61 63 6b 68 61 6f 2f 75 69 75 63 2d 63 | __........W/home/blackhao/uiuc-c |
| 06a0 | 6f 75 72 73 65 2d 67 72 61 70 68 2f 2e 76 65 6e 76 2f 6c 69 62 2f 70 79 74 68 6f 6e 33 2e 31 32 | ourse-graph/.venv/lib/python3.12 |
| 06c0 | 2f 73 69 74 65 2d 70 61 63 6b 61 67 65 73 2f 6e 75 6d 70 79 2f 65 78 63 65 70 74 69 6f 6e 73 2e | /site-packages/numpy/exceptions. |
| 06e0 | 70 79 72 02 00 00 00 72 02 00 00 00 30 00 00 00 f3 0c 00 00 00 84 00 f1 02 06 05 08 f0 0e 00 05 | pyr....r....0................... |
| 0700 | 09 72 10 00 00 00 72 02 00 00 00 63 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 | .r....r....c.................... |
| 0720 | f3 10 00 00 00 97 00 65 00 5a 01 64 00 5a 02 64 01 5a 03 79 02 29 03 72 04 00 00 00 61 a6 01 00 | .......e.Z.d.Z.d.Z.y.).r....a... |
| 0740 | 00 4d 6f 64 75 6c 65 20 64 65 70 72 65 63 61 74 69 6f 6e 20 77 61 72 6e 69 6e 67 2e 0a 0a 20 20 | .Module.deprecation.warning..... |
| 0760 | 20 20 2e 2e 20 77 61 72 6e 69 6e 67 3a 3a 0a 0a 20 20 20 20 20 20 20 20 54 68 69 73 20 77 61 72 | .....warning::..........This.war |
| 0780 | 6e 69 6e 67 20 73 68 6f 75 6c 64 20 6e 6f 74 20 62 65 20 75 73 65 64 2c 20 73 69 6e 63 65 20 6e | ning.should.not.be.used,.since.n |
| 07a0 | 6f 73 65 20 74 65 73 74 69 6e 67 20 69 73 20 6e 6f 74 20 72 65 6c 65 76 61 6e 74 0a 20 20 20 20 | ose.testing.is.not.relevant..... |
| 07c0 | 20 20 20 20 61 6e 79 6d 6f 72 65 2e 0a 0a 20 20 20 20 54 68 65 20 6e 6f 73 65 20 74 65 73 74 65 | ....anymore.......The.nose.teste |
| 07e0 | 72 20 74 75 72 6e 73 20 6f 72 64 69 6e 61 72 79 20 44 65 70 72 65 63 61 74 69 6f 6e 20 77 61 72 | r.turns.ordinary.Deprecation.war |
| 0800 | 6e 69 6e 67 73 20 69 6e 74 6f 20 74 65 73 74 20 66 61 69 6c 75 72 65 73 2e 0a 20 20 20 20 54 68 | nings.into.test.failures......Th |
| 0820 | 61 74 20 6d 61 6b 65 73 20 69 74 20 68 61 72 64 20 74 6f 20 64 65 70 72 65 63 61 74 65 20 77 68 | at.makes.it.hard.to.deprecate.wh |
| 0840 | 6f 6c 65 20 6d 6f 64 75 6c 65 73 2c 20 62 65 63 61 75 73 65 20 74 68 65 79 20 67 65 74 0a 20 20 | ole.modules,.because.they.get... |
| 0860 | 20 20 69 6d 70 6f 72 74 65 64 20 62 79 20 64 65 66 61 75 6c 74 2e 20 53 6f 20 74 68 69 73 20 69 | ..imported.by.default..So.this.i |
| 0880 | 73 20 61 20 73 70 65 63 69 61 6c 20 44 65 70 72 65 63 61 74 69 6f 6e 20 77 61 72 6e 69 6e 67 20 | s.a.special.Deprecation.warning. |
| 08a0 | 74 68 61 74 20 74 68 65 0a 20 20 20 20 6e 6f 73 65 20 74 65 73 74 65 72 20 77 69 6c 6c 20 6c 65 | that.the.....nose.tester.will.le |
| 08c0 | 74 20 70 61 73 73 20 77 69 74 68 6f 75 74 20 6d 61 6b 69 6e 67 20 74 65 73 74 73 20 66 61 69 6c | t.pass.without.making.tests.fail |
| 08e0 | 2e 0a 0a 20 20 20 20 4e 72 0a 00 00 00 72 0f 00 00 00 72 10 00 00 00 72 11 00 00 00 72 04 00 00 | .......Nr....r....r....r....r... |
| 0900 | 00 72 04 00 00 00 3b 00 00 00 73 0c 00 00 00 84 00 f1 02 0c 05 08 f0 1a 00 05 09 72 10 00 00 00 | .r....;...s................r.... |
| 0920 | 72 04 00 00 00 63 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 f3 10 00 00 00 97 | r....c.......................... |
| 0940 | 00 65 00 5a 01 64 00 5a 02 64 01 5a 03 79 02 29 03 72 03 00 00 00 7a e1 56 69 73 69 62 6c 65 20 | .e.Z.d.Z.d.Z.y.).r....z.Visible. |
| 0960 | 64 65 70 72 65 63 61 74 69 6f 6e 20 77 61 72 6e 69 6e 67 2e 0a 0a 20 20 20 20 42 79 20 64 65 66 | deprecation.warning.......By.def |
| 0980 | 61 75 6c 74 2c 20 70 79 74 68 6f 6e 20 77 69 6c 6c 20 6e 6f 74 20 73 68 6f 77 20 64 65 70 72 65 | ault,.python.will.not.show.depre |
| 09a0 | 63 61 74 69 6f 6e 20 77 61 72 6e 69 6e 67 73 2c 20 73 6f 20 74 68 69 73 20 63 6c 61 73 73 0a 20 | cation.warnings,.so.this.class.. |
| 09c0 | 20 20 20 63 61 6e 20 62 65 20 75 73 65 64 20 77 68 65 6e 20 61 20 76 65 72 79 20 76 69 73 69 62 | ...can.be.used.when.a.very.visib |
| 09e0 | 6c 65 20 77 61 72 6e 69 6e 67 20 69 73 20 68 65 6c 70 66 75 6c 2c 20 66 6f 72 20 65 78 61 6d 70 | le.warning.is.helpful,.for.examp |
| 0a00 | 6c 65 20 62 65 63 61 75 73 65 0a 20 20 20 20 74 68 65 20 75 73 61 67 65 20 69 73 20 6d 6f 73 74 | le.because.....the.usage.is.most |
| 0a20 | 20 6c 69 6b 65 6c 79 20 61 20 75 73 65 72 20 62 75 67 2e 0a 0a 20 20 20 20 4e 72 0a 00 00 00 72 | .likely.a.user.bug.......Nr....r |
| 0a40 | 0f 00 00 00 72 10 00 00 00 72 11 00 00 00 72 03 00 00 00 72 03 00 00 00 4c 00 00 00 72 12 00 00 | ....r....r....r....r....L...r... |
| 0a60 | 00 72 10 00 00 00 72 03 00 00 00 63 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 | .r....r....c.................... |
| 0a80 | f3 10 00 00 00 97 00 65 00 5a 01 64 00 5a 02 64 01 5a 03 79 02 29 03 da 0b 52 61 6e 6b 57 61 72 | .......e.Z.d.Z.d.Z.y.)...RankWar |
| 0aa0 | 6e 69 6e 67 7a 68 4d 61 74 72 69 78 20 72 61 6e 6b 20 77 61 72 6e 69 6e 67 2e 0a 0a 20 20 20 20 | ningzhMatrix.rank.warning....... |
| 0ac0 | 49 73 73 75 65 64 20 62 79 20 70 6f 6c 79 6e 6f 6d 69 61 6c 20 66 75 6e 63 74 69 6f 6e 73 20 77 | Issued.by.polynomial.functions.w |
| 0ae0 | 68 65 6e 20 74 68 65 20 64 65 73 69 67 6e 20 6d 61 74 72 69 78 20 69 73 20 72 61 6e 6b 20 64 65 | hen.the.design.matrix.is.rank.de |
| 0b00 | 66 69 63 69 65 6e 74 2e 0a 0a 20 20 20 20 4e 72 0a 00 00 00 72 0f 00 00 00 72 10 00 00 00 72 11 | ficient.......Nr....r....r....r. |
| 0b20 | 00 00 00 72 16 00 00 00 72 16 00 00 00 57 00 00 00 73 0c 00 00 00 84 00 f1 02 04 05 08 f0 0a 00 | ...r....r....W...s.............. |
| 0b40 | 05 09 72 10 00 00 00 72 16 00 00 00 63 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 | ..r....r....c................... |
| 0b60 | 00 f3 10 00 00 00 97 00 65 00 5a 01 64 00 5a 02 64 01 5a 03 79 02 29 03 72 05 00 00 00 61 05 01 | ........e.Z.d.Z.d.Z.y.).r....a.. |
| 0b80 | 00 00 60 60 6d 61 78 5f 77 6f 72 6b 60 60 20 77 61 73 20 65 78 63 65 65 64 65 64 2e 0a 0a 20 20 | ..``max_work``.was.exceeded..... |
| 0ba0 | 20 20 54 68 69 73 20 69 73 20 72 61 69 73 65 64 20 77 68 65 6e 65 76 65 72 20 74 68 65 20 6d 61 | ..This.is.raised.whenever.the.ma |
| 0bc0 | 78 69 6d 75 6d 20 6e 75 6d 62 65 72 20 6f 66 20 63 61 6e 64 69 64 61 74 65 20 73 6f 6c 75 74 69 | ximum.number.of.candidate.soluti |
| 0be0 | 6f 6e 73 0a 20 20 20 20 74 6f 20 63 6f 6e 73 69 64 65 72 20 73 70 65 63 69 66 69 65 64 20 62 79 | ons.....to.consider.specified.by |
| 0c00 | 20 74 68 65 20 60 60 6d 61 78 5f 77 6f 72 6b 60 60 20 70 61 72 61 6d 65 74 65 72 20 69 73 20 65 | .the.``max_work``.parameter.is.e |
| 0c20 | 78 63 65 65 64 65 64 2e 0a 20 20 20 20 41 73 73 69 67 6e 69 6e 67 20 61 20 66 69 6e 69 74 65 20 | xceeded......Assigning.a.finite. |
| 0c40 | 6e 75 6d 62 65 72 20 74 6f 20 60 60 6d 61 78 5f 77 6f 72 6b 60 60 20 6d 61 79 20 68 61 76 65 20 | number.to.``max_work``.may.have. |
| 0c60 | 63 61 75 73 65 64 20 74 68 65 20 6f 70 65 72 61 74 69 6f 6e 0a 20 20 20 20 74 6f 20 66 61 69 6c | caused.the.operation.....to.fail |
| 0c80 | 2e 0a 0a 20 20 20 20 4e 72 0a 00 00 00 72 0f 00 00 00 72 10 00 00 00 72 11 00 00 00 72 05 00 00 | .......Nr....r....r....r....r... |
| 0ca0 | 00 72 05 00 00 00 61 00 00 00 73 0c 00 00 00 84 00 f1 02 07 05 08 f0 10 00 05 09 72 10 00 00 00 | .r....a...s................r.... |
| 0cc0 | 72 05 00 00 00 63 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 f3 22 00 00 00 97 | r....c.....................".... |
| 0ce0 | 00 65 00 5a 01 64 00 5a 02 64 01 5a 03 64 02 5a 04 64 06 64 04 84 01 5a 05 64 05 84 00 5a 06 79 | .e.Z.d.Z.d.Z.d.Z.d.d...Z.d...Z.y |
| 0d00 | 03 29 07 72 06 00 00 00 61 19 08 00 00 41 78 69 73 20 73 75 70 70 6c 69 65 64 20 77 61 73 20 69 | .).r....a....Axis.supplied.was.i |
| 0d20 | 6e 76 61 6c 69 64 2e 0a 0a 20 20 20 20 54 68 69 73 20 69 73 20 72 61 69 73 65 64 20 77 68 65 6e | nvalid.......This.is.raised.when |
| 0d40 | 65 76 65 72 20 61 6e 20 60 60 61 78 69 73 60 60 20 70 61 72 61 6d 65 74 65 72 20 69 73 20 73 70 | ever.an.``axis``.parameter.is.sp |
| 0d60 | 65 63 69 66 69 65 64 20 74 68 61 74 20 69 73 20 6c 61 72 67 65 72 0a 20 20 20 20 74 68 61 6e 20 | ecified.that.is.larger.....than. |
| 0d80 | 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 61 72 72 61 79 20 64 69 6d 65 6e 73 69 6f 6e 73 2e 0a | the.number.of.array.dimensions.. |
| 0da0 | 20 20 20 20 46 6f 72 20 63 6f 6d 70 61 74 69 62 69 6c 69 74 79 20 77 69 74 68 20 63 6f 64 65 20 | ....For.compatibility.with.code. |
| 0dc0 | 77 72 69 74 74 65 6e 20 61 67 61 69 6e 73 74 20 6f 6c 64 65 72 20 6e 75 6d 70 79 20 76 65 72 73 | written.against.older.numpy.vers |
| 0de0 | 69 6f 6e 73 2c 20 77 68 69 63 68 0a 20 20 20 20 72 61 69 73 65 64 20 61 20 6d 69 78 74 75 72 65 | ions,.which.....raised.a.mixture |
| 0e00 | 20 6f 66 20 3a 65 78 63 3a 60 56 61 6c 75 65 45 72 72 6f 72 60 20 61 6e 64 20 3a 65 78 63 3a 60 | .of.:exc:`ValueError`.and.:exc:` |
| 0e20 | 49 6e 64 65 78 45 72 72 6f 72 60 20 66 6f 72 20 74 68 69 73 0a 20 20 20 20 73 69 74 75 61 74 69 | IndexError`.for.this.....situati |
| 0e40 | 6f 6e 2c 20 74 68 69 73 20 65 78 63 65 70 74 69 6f 6e 20 73 75 62 63 6c 61 73 73 65 73 20 62 6f | on,.this.exception.subclasses.bo |
| 0e60 | 74 68 20 74 6f 20 65 6e 73 75 72 65 20 74 68 61 74 0a 20 20 20 20 60 60 65 78 63 65 70 74 20 56 | th.to.ensure.that.....``except.V |
| 0e80 | 61 6c 75 65 45 72 72 6f 72 60 60 20 61 6e 64 20 60 60 65 78 63 65 70 74 20 49 6e 64 65 78 45 72 | alueError``.and.``except.IndexEr |
| 0ea0 | 72 6f 72 60 60 20 73 74 61 74 65 6d 65 6e 74 73 20 63 6f 6e 74 69 6e 75 65 0a 20 20 20 20 74 6f | ror``.statements.continue.....to |
| 0ec0 | 20 63 61 74 63 68 20 60 60 41 78 69 73 45 72 72 6f 72 60 60 2e 0a 0a 20 20 20 20 50 61 72 61 6d | .catch.``AxisError``.......Param |
| 0ee0 | 65 74 65 72 73 0a 20 20 20 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 20 20 20 20 61 78 69 73 20 3a 20 | eters.....----------.....axis.:. |
| 0f00 | 69 6e 74 20 6f 72 20 73 74 72 0a 20 20 20 20 20 20 20 20 54 68 65 20 6f 75 74 20 6f 66 20 62 6f | int.or.str.........The.out.of.bo |
| 0f20 | 75 6e 64 73 20 61 78 69 73 20 6f 72 20 61 20 63 75 73 74 6f 6d 20 65 78 63 65 70 74 69 6f 6e 20 | unds.axis.or.a.custom.exception. |
| 0f40 | 6d 65 73 73 61 67 65 2e 0a 20 20 20 20 20 20 20 20 49 66 20 61 6e 20 61 78 69 73 20 69 73 20 70 | message..........If.an.axis.is.p |
| 0f60 | 72 6f 76 69 64 65 64 2c 20 74 68 65 6e 20 60 6e 64 69 6d 60 20 73 68 6f 75 6c 64 20 62 65 20 73 | rovided,.then.`ndim`.should.be.s |
| 0f80 | 70 65 63 69 66 69 65 64 20 61 73 20 77 65 6c 6c 2e 0a 20 20 20 20 6e 64 69 6d 20 3a 20 69 6e 74 | pecified.as.well......ndim.:.int |
| 0fa0 | 2c 20 6f 70 74 69 6f 6e 61 6c 0a 20 20 20 20 20 20 20 20 54 68 65 20 6e 75 6d 62 65 72 20 6f 66 | ,.optional.........The.number.of |
| 0fc0 | 20 61 72 72 61 79 20 64 69 6d 65 6e 73 69 6f 6e 73 2e 0a 20 20 20 20 6d 73 67 5f 70 72 65 66 69 | .array.dimensions......msg_prefi |
| 0fe0 | 78 20 3a 20 73 74 72 2c 20 6f 70 74 69 6f 6e 61 6c 0a 20 20 20 20 20 20 20 20 41 20 70 72 65 66 | x.:.str,.optional.........A.pref |
| 1000 | 69 78 20 66 6f 72 20 74 68 65 20 65 78 63 65 70 74 69 6f 6e 20 6d 65 73 73 61 67 65 2e 0a 0a 20 | ix.for.the.exception.message.... |
| 1020 | 20 20 20 41 74 74 72 69 62 75 74 65 73 0a 20 20 20 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 20 20 20 | ...Attributes.....----------.... |
| 1040 | 20 61 78 69 73 20 3a 20 69 6e 74 2c 20 6f 70 74 69 6f 6e 61 6c 0a 20 20 20 20 20 20 20 20 54 68 | .axis.:.int,.optional.........Th |
| 1060 | 65 20 6f 75 74 20 6f 66 20 62 6f 75 6e 64 73 20 61 78 69 73 20 6f 72 20 60 60 4e 6f 6e 65 60 60 | e.out.of.bounds.axis.or.``None`` |
| 1080 | 20 69 66 20 61 20 63 75 73 74 6f 6d 20 65 78 63 65 70 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 6d | .if.a.custom.exception.........m |
| 10a0 | 65 73 73 61 67 65 20 77 61 73 20 70 72 6f 76 69 64 65 64 2e 20 54 68 69 73 20 73 68 6f 75 6c 64 | essage.was.provided..This.should |
| 10c0 | 20 62 65 20 74 68 65 20 61 78 69 73 20 61 73 20 70 61 73 73 65 64 20 62 79 0a 20 20 20 20 20 20 | .be.the.axis.as.passed.by....... |
| 10e0 | 20 20 74 68 65 20 75 73 65 72 2c 20 62 65 66 6f 72 65 20 61 6e 79 20 6e 6f 72 6d 61 6c 69 7a 61 | ..the.user,.before.any.normaliza |
| 1100 | 74 69 6f 6e 20 74 6f 20 72 65 73 6f 6c 76 65 20 6e 65 67 61 74 69 76 65 20 69 6e 64 69 63 65 73 | tion.to.resolve.negative.indices |
| 1120 | 2e 0a 0a 20 20 20 20 20 20 20 20 2e 2e 20 76 65 72 73 69 6f 6e 61 64 64 65 64 3a 3a 20 31 2e 32 | ..............versionadded::.1.2 |
| 1140 | 32 0a 20 20 20 20 6e 64 69 6d 20 3a 20 69 6e 74 2c 20 6f 70 74 69 6f 6e 61 6c 0a 20 20 20 20 20 | 2.....ndim.:.int,.optional...... |
| 1160 | 20 20 20 54 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 61 72 72 61 79 20 64 69 6d 65 6e 73 69 6f 6e | ...The.number.of.array.dimension |
| 1180 | 73 20 6f 72 20 60 60 4e 6f 6e 65 60 60 20 69 66 20 61 20 63 75 73 74 6f 6d 20 65 78 63 65 70 74 | s.or.``None``.if.a.custom.except |
| 11a0 | 69 6f 6e 0a 20 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 20 77 61 73 20 70 72 6f 76 69 64 65 64 | ion.........message.was.provided |
| 11c0 | 2e 0a 0a 20 20 20 20 20 20 20 20 2e 2e 20 76 65 72 73 69 6f 6e 61 64 64 65 64 3a 3a 20 31 2e 32 | ..............versionadded::.1.2 |
| 11e0 | 32 0a 0a 0a 20 20 20 20 45 78 61 6d 70 6c 65 73 0a 20 20 20 20 2d 2d 2d 2d 2d 2d 2d 2d 0a 20 20 | 2.......Examples.....--------... |
| 1200 | 20 20 3e 3e 3e 20 69 6d 70 6f 72 74 20 6e 75 6d 70 79 20 61 73 20 6e 70 0a 20 20 20 20 3e 3e 3e | ..>>>.import.numpy.as.np.....>>> |
| 1220 | 20 61 72 72 61 79 5f 31 64 20 3d 20 6e 70 2e 61 72 61 6e 67 65 28 31 30 29 0a 20 20 20 20 3e 3e | .array_1d.=.np.arange(10).....>> |
| 1240 | 3e 20 6e 70 2e 63 75 6d 73 75 6d 28 61 72 72 61 79 5f 31 64 2c 20 61 78 69 73 3d 31 29 0a 20 20 | >.np.cumsum(array_1d,.axis=1)... |
| 1260 | 20 20 54 72 61 63 65 62 61 63 6b 20 28 6d 6f 73 74 20 72 65 63 65 6e 74 20 63 61 6c 6c 20 6c 61 | ..Traceback.(most.recent.call.la |
| 1280 | 73 74 29 3a 0a 20 20 20 20 20 20 2e 2e 2e 0a 20 20 20 20 6e 75 6d 70 79 2e 65 78 63 65 70 74 69 | st):...............numpy.excepti |
| 12a0 | 6f 6e 73 2e 41 78 69 73 45 72 72 6f 72 3a 20 61 78 69 73 20 31 20 69 73 20 6f 75 74 20 6f 66 20 | ons.AxisError:.axis.1.is.out.of. |
| 12c0 | 62 6f 75 6e 64 73 20 66 6f 72 20 61 72 72 61 79 20 6f 66 20 64 69 6d 65 6e 73 69 6f 6e 20 31 0a | bounds.for.array.of.dimension.1. |
| 12e0 | 0a 20 20 20 20 4e 65 67 61 74 69 76 65 20 61 78 65 73 20 61 72 65 20 70 72 65 73 65 72 76 65 64 | .....Negative.axes.are.preserved |
| 1300 | 3a 0a 0a 20 20 20 20 3e 3e 3e 20 6e 70 2e 63 75 6d 73 75 6d 28 61 72 72 61 79 5f 31 64 2c 20 61 | :......>>>.np.cumsum(array_1d,.a |
| 1320 | 78 69 73 3d 2d 32 29 0a 20 20 20 20 54 72 61 63 65 62 61 63 6b 20 28 6d 6f 73 74 20 72 65 63 65 | xis=-2).....Traceback.(most.rece |
| 1340 | 6e 74 20 63 61 6c 6c 20 6c 61 73 74 29 3a 0a 20 20 20 20 20 20 2e 2e 2e 0a 20 20 20 20 6e 75 6d | nt.call.last):...............num |
| 1360 | 70 79 2e 65 78 63 65 70 74 69 6f 6e 73 2e 41 78 69 73 45 72 72 6f 72 3a 20 61 78 69 73 20 2d 32 | py.exceptions.AxisError:.axis.-2 |
| 1380 | 20 69 73 20 6f 75 74 20 6f 66 20 62 6f 75 6e 64 73 20 66 6f 72 20 61 72 72 61 79 20 6f 66 20 64 | .is.out.of.bounds.for.array.of.d |
| 13a0 | 69 6d 65 6e 73 69 6f 6e 20 31 0a 0a 20 20 20 20 54 68 65 20 63 6c 61 73 73 20 63 6f 6e 73 74 72 | imension.1......The.class.constr |
| 13c0 | 75 63 74 6f 72 20 67 65 6e 65 72 61 6c 6c 79 20 74 61 6b 65 73 20 74 68 65 20 61 78 69 73 20 61 | uctor.generally.takes.the.axis.a |
| 13e0 | 6e 64 20 61 72 72 61 79 73 27 0a 20 20 20 20 64 69 6d 65 6e 73 69 6f 6e 61 6c 69 74 79 20 61 73 | nd.arrays'.....dimensionality.as |
| 1400 | 20 61 72 67 75 6d 65 6e 74 73 3a 0a 0a 20 20 20 20 3e 3e 3e 20 70 72 69 6e 74 28 6e 70 2e 65 78 | .arguments:......>>>.print(np.ex |
| 1420 | 63 65 70 74 69 6f 6e 73 2e 41 78 69 73 45 72 72 6f 72 28 32 2c 20 31 2c 20 6d 73 67 5f 70 72 65 | ceptions.AxisError(2,.1,.msg_pre |
| 1440 | 66 69 78 3d 27 65 72 72 6f 72 27 29 29 0a 20 20 20 20 65 72 72 6f 72 3a 20 61 78 69 73 20 32 20 | fix='error')).....error:.axis.2. |
| 1460 | 69 73 20 6f 75 74 20 6f 66 20 62 6f 75 6e 64 73 20 66 6f 72 20 61 72 72 61 79 20 6f 66 20 64 69 | is.out.of.bounds.for.array.of.di |
| 1480 | 6d 65 6e 73 69 6f 6e 20 31 0a 0a 20 20 20 20 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 61 20 | mension.1......Alternatively,.a. |
| 14a0 | 63 75 73 74 6f 6d 20 65 78 63 65 70 74 69 6f 6e 20 6d 65 73 73 61 67 65 20 63 61 6e 20 62 65 20 | custom.exception.message.can.be. |
| 14c0 | 70 61 73 73 65 64 3a 0a 0a 20 20 20 20 3e 3e 3e 20 70 72 69 6e 74 28 6e 70 2e 65 78 63 65 70 74 | passed:......>>>.print(np.except |
| 14e0 | 69 6f 6e 73 2e 41 78 69 73 45 72 72 6f 72 28 27 43 75 73 74 6f 6d 20 65 72 72 6f 72 20 6d 65 73 | ions.AxisError('Custom.error.mes |
| 1500 | 73 61 67 65 27 29 29 0a 20 20 20 20 43 75 73 74 6f 6d 20 65 72 72 6f 72 20 6d 65 73 73 61 67 65 | sage')).....Custom.error.message |
| 1520 | 0a 0a 20 20 20 20 a9 03 da 04 5f 6d 73 67 da 04 61 78 69 73 da 04 6e 64 69 6d 4e 63 04 00 00 00 | .........._msg..axis..ndimNc.... |
| 1540 | 00 00 00 00 00 00 00 00 03 00 00 00 03 00 00 00 f3 6e 00 00 00 97 00 7c 02 7c 03 63 02 78 02 75 | .................n.....|.|.c.x.u |
| 1560 | 00 72 02 80 19 6e 02 01 00 6e 16 7c 01 7c 00 5f 00 00 00 00 00 00 00 00 00 64 00 7c 00 5f 01 00 | .r...n...n.|.|._.........d.|._.. |
| 1580 | 00 00 00 00 00 00 00 64 00 7c 00 5f 02 00 00 00 00 00 00 00 00 79 00 7c 03 7c 00 5f 00 00 00 00 | .......d.|._.........y.|.|._.... |
| 15a0 | 00 00 00 00 00 7c 01 7c 00 5f 01 00 00 00 00 00 00 00 00 7c 02 7c 00 5f 02 00 00 00 00 00 00 00 | .....|.|._.........|.|._........ |
| 15c0 | 00 79 00 29 01 4e 72 19 00 00 00 29 04 da 04 73 65 6c 66 72 1b 00 00 00 72 1c 00 00 00 da 0a 6d | .y.).Nr....)...selfr....r......m |
| 15e0 | 73 67 5f 70 72 65 66 69 78 73 04 00 00 00 20 20 20 20 72 11 00 00 00 da 08 5f 5f 69 6e 69 74 5f | sg_prefixs........r......__init_ |
| 1600 | 5f 7a 12 41 78 69 73 45 72 72 6f 72 2e 5f 5f 69 6e 69 74 5f 5f b0 00 00 00 73 34 00 00 00 80 00 | _z.AxisError.__init__....s4..... |
| 1620 | d8 0b 0f 90 3a d7 0b 25 e0 18 1c 88 44 8c 49 d8 18 1c 88 44 8c 49 d8 18 1c 88 44 8d 49 e0 18 22 | ....:..%....D.I....D.I....D.I.." |
| 1640 | 88 44 8c 49 d8 18 1c 88 44 8c 49 d8 18 1c 88 44 8d 49 72 10 00 00 00 63 01 00 00 00 00 00 00 00 | .D.I....D.I....D.Ir....c........ |
| 1660 | 00 00 00 00 04 00 00 00 03 00 00 00 f3 a8 00 00 00 97 00 7c 00 6a 00 00 00 00 00 00 00 00 00 00 | ...................|.j.......... |
| 1680 | 00 00 00 00 00 00 00 00 00 7d 01 7c 00 6a 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .........}.|.j.................. |
| 16a0 | 00 7d 02 7c 01 7c 02 63 02 78 02 75 00 72 0d 80 0d 7c 00 6a 04 00 00 00 00 00 00 00 00 00 00 00 | .}.|.|.c.x.u.r...|.j............ |
| 16c0 | 00 00 00 00 00 00 00 53 00 01 00 64 01 7c 01 9b 00 64 02 7c 02 9b 00 9d 04 7d 03 7c 00 6a 04 00 | .......S...d.|...d.|.....}.|.j.. |
| 16e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 81 11 7c 00 6a 04 00 00 00 00 00 00 00 00 00 | ...................|.j.......... |
| 1700 | 00 00 00 00 00 00 00 00 00 9b 00 64 03 7c 03 9b 00 9d 03 7d 03 7c 03 53 00 29 04 4e 7a 05 61 78 | ...........d.|.....}.|.S.).Nz.ax |
| 1720 | 69 73 20 7a 29 20 69 73 20 6f 75 74 20 6f 66 20 62 6f 75 6e 64 73 20 66 6f 72 20 61 72 72 61 79 | is.z).is.out.of.bounds.for.array |
| 1740 | 20 6f 66 20 64 69 6d 65 6e 73 69 6f 6e 20 7a 02 3a 20 29 03 72 1b 00 00 00 72 1c 00 00 00 72 1a | .of.dimension.z.:.).r....r....r. |
| 1760 | 00 00 00 29 04 72 1e 00 00 00 72 1b 00 00 00 72 1c 00 00 00 da 03 6d 73 67 73 04 00 00 00 20 20 | ...).r....r....r......msgs...... |
| 1780 | 20 20 72 11 00 00 00 da 07 5f 5f 73 74 72 5f 5f 7a 11 41 78 69 73 45 72 72 6f 72 2e 5f 5f 73 74 | ..r......__str__z.AxisError.__st |
| 17a0 | 72 5f 5f bb 00 00 00 73 63 00 00 00 80 00 d8 0f 13 8f 79 89 79 88 04 d8 0f 13 8f 79 89 79 88 04 | r__....sc.........y.y......y.y.. |
| 17c0 | e0 0b 0f 90 34 d4 0b 1f d8 13 17 97 39 91 39 d0 0c 1c f0 03 00 0c 20 f0 06 00 15 1a 98 24 98 16 | ....4.......9.9..............$.. |
| 17e0 | d0 1f 48 c8 14 c8 06 d0 12 4f 88 43 d8 0f 13 8f 79 89 79 d0 0f 24 d8 19 1d 9f 19 99 19 98 0b a0 | ..H......O.C....y.y..$.......... |
| 1800 | 32 a0 63 a0 55 d0 16 2b 90 03 d8 13 16 88 4a 72 10 00 00 00 29 02 4e 4e 29 07 72 0b 00 00 00 72 | 2.c.U..+......Jr....).NN).r....r |
| 1820 | 0c 00 00 00 72 0d 00 00 00 72 0e 00 00 00 da 09 5f 5f 73 6c 6f 74 73 5f 5f 72 20 00 00 00 72 23 | ....r....r......__slots__r....r# |
| 1840 | 00 00 00 72 0f 00 00 00 72 10 00 00 00 72 11 00 00 00 72 06 00 00 00 72 06 00 00 00 6d 00 00 00 | ...r....r....r....r....r....m... |
| 1860 | 73 19 00 00 00 84 00 f1 02 3e 05 08 f0 40 02 00 11 29 80 49 f3 04 09 05 1d f3 16 0a 05 17 72 10 | s........>...@...).I..........r. |
| 1880 | 00 00 00 72 06 00 00 00 63 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 f3 10 00 | ...r....c....................... |
| 18a0 | 00 00 97 00 65 00 5a 01 64 00 5a 02 64 01 5a 03 79 02 29 03 72 07 00 00 00 61 c9 07 00 00 4d 75 | ....e.Z.d.Z.d.Z.y.).r....a....Mu |
| 18c0 | 6c 74 69 70 6c 65 20 44 54 79 70 65 73 20 63 6f 75 6c 64 20 6e 6f 74 20 62 65 20 63 6f 6e 76 65 | ltiple.DTypes.could.not.be.conve |
| 18e0 | 72 74 65 64 20 74 6f 20 61 20 63 6f 6d 6d 6f 6e 20 6f 6e 65 2e 0a 0a 20 20 20 20 54 68 69 73 20 | rted.to.a.common.one.......This. |
| 1900 | 65 78 63 65 70 74 69 6f 6e 20 64 65 72 69 76 65 73 20 66 72 6f 6d 20 60 60 54 79 70 65 45 72 72 | exception.derives.from.``TypeErr |
| 1920 | 6f 72 60 60 20 61 6e 64 20 69 73 20 72 61 69 73 65 64 20 77 68 65 6e 65 76 65 72 20 64 74 79 70 | or``.and.is.raised.whenever.dtyp |
| 1940 | 65 73 0a 20 20 20 20 63 61 6e 6e 6f 74 20 62 65 20 63 6f 6e 76 65 72 74 65 64 20 74 6f 20 61 20 | es.....cannot.be.converted.to.a. |
| 1960 | 73 69 6e 67 6c 65 20 63 6f 6d 6d 6f 6e 20 6f 6e 65 2e 20 20 54 68 69 73 20 63 61 6e 20 62 65 20 | single.common.one...This.can.be. |
| 1980 | 62 65 63 61 75 73 65 20 74 68 65 79 0a 20 20 20 20 61 72 65 20 6f 66 20 61 20 64 69 66 66 65 72 | because.they.....are.of.a.differ |
| 19a0 | 65 6e 74 20 63 61 74 65 67 6f 72 79 2f 63 6c 61 73 73 20 6f 72 20 69 6e 63 6f 6d 70 61 74 69 62 | ent.category/class.or.incompatib |
| 19c0 | 6c 65 20 69 6e 73 74 61 6e 63 65 73 20 6f 66 20 74 68 65 20 73 61 6d 65 0a 20 20 20 20 6f 6e 65 | le.instances.of.the.same.....one |
| 19e0 | 20 28 73 65 65 20 45 78 61 6d 70 6c 65 73 29 2e 0a 0a 20 20 20 20 4e 6f 74 65 73 0a 20 20 20 20 | .(see.Examples).......Notes..... |
| 1a00 | 2d 2d 2d 2d 2d 0a 20 20 20 20 4d 61 6e 79 20 66 75 6e 63 74 69 6f 6e 73 20 77 69 6c 6c 20 75 73 | -----.....Many.functions.will.us |
| 1a20 | 65 20 70 72 6f 6d 6f 74 69 6f 6e 20 74 6f 20 66 69 6e 64 20 74 68 65 20 63 6f 72 72 65 63 74 20 | e.promotion.to.find.the.correct. |
| 1a40 | 72 65 73 75 6c 74 20 61 6e 64 0a 20 20 20 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 2e 20 20 | result.and.....implementation... |
| 1a60 | 46 6f 72 20 74 68 65 73 65 20 66 75 6e 63 74 69 6f 6e 73 20 74 68 65 20 65 72 72 6f 72 20 77 69 | For.these.functions.the.error.wi |
| 1a80 | 6c 6c 20 74 79 70 69 63 61 6c 6c 79 20 62 65 20 63 68 61 69 6e 65 64 0a 20 20 20 20 77 69 74 68 | ll.typically.be.chained.....with |
| 1aa0 | 20 61 20 6d 6f 72 65 20 73 70 65 63 69 66 69 63 20 65 72 72 6f 72 20 69 6e 64 69 63 61 74 69 6e | .a.more.specific.error.indicatin |
| 1ac0 | 67 20 74 68 61 74 20 6e 6f 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 77 61 73 20 66 6f 75 | g.that.no.implementation.was.fou |
| 1ae0 | 6e 64 0a 20 20 20 20 66 6f 72 20 74 68 65 20 69 6e 70 75 74 20 64 74 79 70 65 73 2e 0a 0a 20 20 | nd.....for.the.input.dtypes..... |
| 1b00 | 20 20 54 79 70 69 63 61 6c 6c 79 20 70 72 6f 6d 6f 74 69 6f 6e 20 73 68 6f 75 6c 64 20 62 65 20 | ..Typically.promotion.should.be. |
| 1b20 | 63 6f 6e 73 69 64 65 72 65 64 20 22 69 6e 76 61 6c 69 64 22 20 62 65 74 77 65 65 6e 20 74 68 65 | considered."invalid".between.the |
| 1b40 | 20 64 74 79 70 65 73 20 6f 66 0a 20 20 20 20 74 77 6f 20 61 72 72 61 79 73 20 77 68 65 6e 20 60 | .dtypes.of.....two.arrays.when.` |
| 1b60 | 61 72 72 31 20 3d 3d 20 61 72 72 32 60 20 63 61 6e 20 73 61 66 65 6c 79 20 72 65 74 75 72 6e 20 | arr1.==.arr2`.can.safely.return. |
| 1b80 | 61 6c 6c 20 60 60 46 61 6c 73 65 60 60 20 62 65 63 61 75 73 65 20 74 68 65 0a 20 20 20 20 64 74 | all.``False``.because.the.....dt |
| 1ba0 | 79 70 65 73 20 61 72 65 20 66 75 6e 64 61 6d 65 6e 74 61 6c 6c 79 20 64 69 66 66 65 72 65 6e 74 | ypes.are.fundamentally.different |
| 1bc0 | 2e 0a 0a 20 20 20 20 45 78 61 6d 70 6c 65 73 0a 20 20 20 20 2d 2d 2d 2d 2d 2d 2d 2d 0a 20 20 20 | .......Examples.....--------.... |
| 1be0 | 20 44 61 74 65 74 69 6d 65 73 20 61 6e 64 20 63 6f 6d 70 6c 65 78 20 6e 75 6d 62 65 72 73 20 61 | .Datetimes.and.complex.numbers.a |
| 1c00 | 72 65 20 69 6e 63 6f 6d 70 61 74 69 62 6c 65 20 63 6c 61 73 73 65 73 20 61 6e 64 20 63 61 6e 6e | re.incompatible.classes.and.cann |
| 1c20 | 6f 74 20 62 65 0a 20 20 20 20 70 72 6f 6d 6f 74 65 64 3a 0a 0a 20 20 20 20 3e 3e 3e 20 69 6d 70 | ot.be.....promoted:......>>>.imp |
| 1c40 | 6f 72 74 20 6e 75 6d 70 79 20 61 73 20 6e 70 0a 20 20 20 20 3e 3e 3e 20 6e 70 2e 72 65 73 75 6c | ort.numpy.as.np.....>>>.np.resul |
| 1c60 | 74 5f 74 79 70 65 28 6e 70 2e 64 74 79 70 65 28 22 4d 38 5b 73 5d 22 29 2c 20 6e 70 2e 63 6f 6d | t_type(np.dtype("M8[s]"),.np.com |
| 1c80 | 70 6c 65 78 31 32 38 29 20 20 23 20 64 6f 63 74 65 73 74 3a 20 2b 49 47 4e 4f 52 45 5f 45 58 43 | plex128)..#.doctest:.+IGNORE_EXC |
| 1ca0 | 45 50 54 49 4f 4e 5f 44 45 54 41 49 4c 0a 20 20 20 20 54 72 61 63 65 62 61 63 6b 20 28 6d 6f 73 | EPTION_DETAIL.....Traceback.(mos |
| 1cc0 | 74 20 72 65 63 65 6e 74 20 63 61 6c 6c 20 6c 61 73 74 29 3a 0a 20 20 20 20 20 2e 2e 2e 0a 20 20 | t.recent.call.last):............ |
| 1ce0 | 20 20 44 54 79 70 65 50 72 6f 6d 6f 74 69 6f 6e 45 72 72 6f 72 3a 20 54 68 65 20 44 54 79 70 65 | ..DTypePromotionError:.The.DType |
| 1d00 | 20 3c 63 6c 61 73 73 20 27 6e 75 6d 70 79 2e 64 74 79 70 65 5b 64 61 74 65 74 69 6d 65 36 34 5d | .<class.'numpy.dtype[datetime64] |
| 1d20 | 27 3e 20 63 6f 75 6c 64 20 6e 6f 74 0a 20 20 20 20 62 65 20 70 72 6f 6d 6f 74 65 64 20 62 79 20 | '>.could.not.....be.promoted.by. |
| 1d40 | 3c 63 6c 61 73 73 20 27 6e 75 6d 70 79 2e 64 74 79 70 65 5b 63 6f 6d 70 6c 65 78 31 32 38 5d 27 | <class.'numpy.dtype[complex128]' |
| 1d60 | 3e 2e 20 54 68 69 73 20 6d 65 61 6e 73 20 74 68 61 74 20 6e 6f 20 63 6f 6d 6d 6f 6e 0a 20 20 20 | >..This.means.that.no.common.... |
| 1d80 | 20 44 54 79 70 65 20 65 78 69 73 74 73 20 66 6f 72 20 74 68 65 20 67 69 76 65 6e 20 69 6e 70 75 | .DType.exists.for.the.given.inpu |
| 1da0 | 74 73 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 20 74 68 65 79 20 63 61 6e 6e 6f 74 20 62 65 20 73 | ts..For.example.they.cannot.be.s |
| 1dc0 | 74 6f 72 65 64 20 69 6e 20 61 0a 20 20 20 20 73 69 6e 67 6c 65 20 61 72 72 61 79 20 75 6e 6c 65 | tored.in.a.....single.array.unle |
| 1de0 | 73 73 20 74 68 65 20 64 74 79 70 65 20 69 73 20 60 6f 62 6a 65 63 74 60 2e 20 54 68 65 20 66 75 | ss.the.dtype.is.`object`..The.fu |
| 1e00 | 6c 6c 20 6c 69 73 74 20 6f 66 20 44 54 79 70 65 73 20 69 73 3a 0a 20 20 20 20 28 3c 63 6c 61 73 | ll.list.of.DTypes.is:.....(<clas |
| 1e20 | 73 20 27 6e 75 6d 70 79 2e 64 74 79 70 65 5b 64 61 74 65 74 69 6d 65 36 34 5d 27 3e 2c 20 3c 63 | s.'numpy.dtype[datetime64]'>,.<c |
| 1e40 | 6c 61 73 73 20 27 6e 75 6d 70 79 2e 64 74 79 70 65 5b 63 6f 6d 70 6c 65 78 31 32 38 5d 27 3e 29 | lass.'numpy.dtype[complex128]'>) |
| 1e60 | 0a 0a 20 20 20 20 46 6f 72 20 65 78 61 6d 70 6c 65 20 66 6f 72 20 73 74 72 75 63 74 75 72 65 64 | ......For.example.for.structured |
| 1e80 | 20 64 74 79 70 65 73 2c 20 74 68 65 20 73 74 72 75 63 74 75 72 65 20 63 61 6e 20 6d 69 73 6d 61 | .dtypes,.the.structure.can.misma |
| 1ea0 | 74 63 68 20 61 6e 64 20 74 68 65 0a 20 20 20 20 73 61 6d 65 20 60 60 44 54 79 70 65 50 72 6f 6d | tch.and.the.....same.``DTypeProm |
| 1ec0 | 6f 74 69 6f 6e 45 72 72 6f 72 60 60 20 69 73 20 67 69 76 65 6e 20 77 68 65 6e 20 74 77 6f 20 73 | otionError``.is.given.when.two.s |
| 1ee0 | 74 72 75 63 74 75 72 65 64 20 64 74 79 70 65 73 20 77 69 74 68 0a 20 20 20 20 61 20 6d 69 73 6d | tructured.dtypes.with.....a.mism |
| 1f00 | 61 74 63 68 20 69 6e 20 74 68 65 69 72 20 6e 75 6d 62 65 72 20 6f 66 20 66 69 65 6c 64 73 20 69 | atch.in.their.number.of.fields.i |
| 1f20 | 73 20 67 69 76 65 6e 3a 0a 0a 20 20 20 20 3e 3e 3e 20 64 74 79 70 65 31 20 3d 20 6e 70 2e 64 74 | s.given:......>>>.dtype1.=.np.dt |
| 1f40 | 79 70 65 28 5b 28 22 66 69 65 6c 64 31 22 2c 20 6e 70 2e 66 6c 6f 61 74 36 34 29 2c 20 28 22 66 | ype([("field1",.np.float64),.("f |
| 1f60 | 69 65 6c 64 32 22 2c 20 6e 70 2e 69 6e 74 36 34 29 5d 29 0a 20 20 20 20 3e 3e 3e 20 64 74 79 70 | ield2",.np.int64)]).....>>>.dtyp |
| 1f80 | 65 32 20 3d 20 6e 70 2e 64 74 79 70 65 28 5b 28 22 66 69 65 6c 64 31 22 2c 20 6e 70 2e 66 6c 6f | e2.=.np.dtype([("field1",.np.flo |
| 1fa0 | 61 74 36 34 29 5d 29 0a 20 20 20 20 3e 3e 3e 20 6e 70 2e 70 72 6f 6d 6f 74 65 5f 74 79 70 65 73 | at64)]).....>>>.np.promote_types |
| 1fc0 | 28 64 74 79 70 65 31 2c 20 64 74 79 70 65 32 29 20 20 23 20 64 6f 63 74 65 73 74 3a 20 2b 49 47 | (dtype1,.dtype2)..#.doctest:.+IG |
| 1fe0 | 4e 4f 52 45 5f 45 58 43 45 50 54 49 4f 4e 5f 44 45 54 41 49 4c 0a 20 20 20 20 54 72 61 63 65 62 | NORE_EXCEPTION_DETAIL.....Traceb |
| 2000 | 61 63 6b 20 28 6d 6f 73 74 20 72 65 63 65 6e 74 20 63 61 6c 6c 20 6c 61 73 74 29 3a 0a 20 20 20 | ack.(most.recent.call.last):.... |
| 2020 | 20 20 2e 2e 2e 0a 20 20 20 20 44 54 79 70 65 50 72 6f 6d 6f 74 69 6f 6e 45 72 72 6f 72 3a 20 66 | ..........DTypePromotionError:.f |
| 2040 | 69 65 6c 64 20 6e 61 6d 65 73 20 60 28 27 66 69 65 6c 64 31 27 2c 20 27 66 69 65 6c 64 32 27 29 | ield.names.`('field1',.'field2') |
| 2060 | 60 20 61 6e 64 20 60 28 27 66 69 65 6c 64 31 27 2c 29 60 0a 20 20 20 20 6d 69 73 6d 61 74 63 68 | `.and.`('field1',)`.....mismatch |
| 2080 | 2e 0a 0a 20 20 20 20 4e 72 0a 00 00 00 72 0f 00 00 00 72 10 00 00 00 72 11 00 00 00 72 07 00 00 | .......Nr....r....r....r....r... |
| 20a0 | 00 72 07 00 00 00 c8 00 00 00 73 0d 00 00 00 84 00 f1 02 2d 05 08 f0 5c 01 00 05 09 72 10 00 00 | .r........s........-...\....r... |
| 20c0 | 00 72 07 00 00 00 4e 29 12 72 0e 00 00 00 da 07 5f 5f 61 6c 6c 5f 5f da 07 67 6c 6f 62 61 6c 73 | .r....N).r......__all__..globals |
| 20e0 | da 0c 52 75 6e 74 69 6d 65 45 72 72 6f 72 72 08 00 00 00 da 0e 52 75 6e 74 69 6d 65 57 61 72 6e | ..RuntimeErrorr......RuntimeWarn |
| 2100 | 69 6e 67 72 02 00 00 00 da 12 44 65 70 72 65 63 61 74 69 6f 6e 57 61 72 6e 69 6e 67 72 04 00 00 | ingr......DeprecationWarningr... |
| 2120 | 00 da 0b 55 73 65 72 57 61 72 6e 69 6e 67 72 03 00 00 00 72 16 00 00 00 72 05 00 00 00 da 0a 56 | ...UserWarningr....r....r......V |
| 2140 | 61 6c 75 65 45 72 72 6f 72 da 0a 49 6e 64 65 78 45 72 72 6f 72 72 06 00 00 00 da 09 54 79 70 65 | alueError..IndexErrorr......Type |
| 2160 | 45 72 72 6f 72 72 07 00 00 00 72 0f 00 00 00 72 10 00 00 00 72 11 00 00 00 fa 08 3c 6d 6f 64 75 | Errorr....r....r....r......<modu |
| 2180 | 6c 65 3e 72 2f 00 00 00 01 00 00 00 73 89 00 00 00 f0 03 01 01 01 f1 02 20 01 04 f2 46 01 02 0b | le>r/.......s...............F... |
| 21a0 | 38 80 07 f0 0e 00 04 10 91 37 93 39 d1 03 1c d9 0a 16 d0 17 40 d3 0a 41 d0 04 41 d8 0d 11 80 0a | 8........7.9........@..A..A..... |
| 21c0 | f4 06 08 01 09 90 5e f4 00 08 01 09 f4 16 0e 01 09 d0 1f 31 f4 00 0e 01 09 f4 22 08 01 09 a0 0b | ......^............1......"..... |
| 21e0 | f4 00 08 01 09 f4 16 06 01 09 90 2e f4 00 06 01 09 f4 14 09 01 09 90 3c f4 00 09 01 09 f4 18 58 | .......................<.......X |
| 2200 | 01 01 17 90 0a 98 4a f4 00 58 01 01 17 f4 76 02 2f 01 09 98 29 f5 00 2f 01 09 72 10 00 00 00 | ......J..X....v./...)../..r.... |