numpy 1.9.3__zip → 1.10.0__zip
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- numpy-1.10.0.post2/INSTALL.txt +200 -0
- numpy-1.10.0.post2/LICENSE.txt +30 -0
- numpy-1.10.0.post2/MANIFEST.in +31 -0
- numpy-1.10.0.post2/PKG-INFO +47 -0
- numpy-1.10.0.post2/cnew.txt +117 -0
- numpy-1.10.0.post2/cold.txt +44 -0
- numpy-1.10.0.post2/committers.txt +160 -0
- numpy-1.10.0.post2/cpre.txt +283 -0
- numpy-1.10.0.post2/crel.txt +161 -0
- numpy-1.10.0.post2/doc/release/1.10.0-notes.rst +439 -0
- numpy-1.10.0.post2/doc/source/conf.py +331 -0
- numpy-1.10.0.post2/doc/source/dev/development_environment.rst +211 -0
- numpy-1.10.0.post2/doc/source/dev/gitwash/development_workflow.rst +534 -0
- numpy-1.10.0.post2/doc/source/dev/gitwash/git_links.inc +95 -0
- numpy-1.10.0.post2/doc/source/dev/gitwash/index.rst +14 -0
- numpy-1.10.0.post2/doc/source/dev/index.rst +11 -0
- numpy-1.10.0.post2/doc/source/reference/arrays.classes.rst +490 -0
- numpy-1.10.0.post2/doc/source/reference/arrays.dtypes.rst +536 -0
- numpy-1.10.0.post2/doc/source/reference/arrays.indexing.rst +549 -0
- numpy-1.10.0.post2/doc/source/reference/arrays.interface.rst +337 -0
- numpy-1.10.0.post2/doc/source/reference/arrays.ndarray.rst +622 -0
- numpy-1.10.0.post2/doc/source/reference/arrays.scalars.rst +291 -0
- numpy-1.10.0.post2/doc/source/reference/c-api.array.rst +3393 -0
- numpy-1.10.0.post2/doc/source/reference/c-api.config.rst +103 -0
- numpy-1.10.0.post2/doc/source/reference/c-api.coremath.rst +420 -0
- numpy-1.10.0.post2/doc/source/reference/c-api.dtype.rst +376 -0
- numpy-1.10.0.post2/doc/source/reference/c-api.generalized-ufuncs.rst +191 -0
- numpy-1.10.0.post2/doc/source/reference/c-api.iterator.rst +1300 -0
- numpy-1.10.0.post2/doc/source/reference/c-api.types-and-structures.rst +1240 -0
- numpy-1.10.0.post2/doc/source/reference/c-api.ufunc.rst +413 -0
- numpy-1.10.0.post2/doc/source/reference/index.rst +43 -0
- numpy-1.10.0.post2/doc/source/reference/internals.code-explanations.rst +615 -0
- numpy-1.10.0.post2/doc/source/reference/routines.array-manipulation.rst +115 -0
- numpy-1.10.0.post2/doc/source/reference/routines.io.rst +78 -0
- numpy-1.10.0.post2/doc/source/reference/routines.linalg.rst +91 -0
- numpy-1.10.0.post2/doc/source/reference/routines.ma.rst +407 -0
- numpy-1.10.0.post2/doc/source/reference/routines.sort.rst +41 -0
- numpy-1.10.0.post2/doc/source/reference/routines.statistics.rst +57 -0
- numpy-1.10.0.post2/doc/source/reference/swig.interface-file.rst +1066 -0
- numpy-1.10.0.post2/doc/source/reference/swig.testing.rst +167 -0
- numpy-1.10.0.post2/doc/source/reference/ufuncs.rst +666 -0
- numpy-1.10.0.post2/doc/source/release.rst +20 -0
- numpy-1.10.0.post2/doc/source/user/basics.io.genfromtxt.rst +531 -0
- numpy-1.10.0.post2/doc/source/user/basics.rec.rst +7 -0
- numpy-1.10.0.post2/doc/source/user/c-info.beyond-basics.rst +560 -0
- numpy-1.10.0.post2/doc/source/user/c-info.how-to-extend.rst +642 -0
- numpy-1.10.0.post2/doc/source/user/c-info.python-as-glue.rst +1177 -0
- numpy-1.10.0.post2/doc/source/user/c-info.ufunc-tutorial.rst +1211 -0
- numpy-1.10.0.post2/doc/source/user/install.rst +194 -0
- numpy-1.10.0.post2/numpy/__init__.py +227 -0
- numpy-1.10.0.post2/numpy/_build_utils/README +8 -0
- numpy-1.10.0.post2/numpy/_build_utils/apple_accelerate.py +21 -0
- numpy-1.10.0.post2/numpy/_build_utils/common.py +138 -0
- numpy-1.10.0.post2/numpy/_build_utils/src/apple_sgemv_fix.c +227 -0
- numpy-1.10.0.post2/numpy/_build_utils/waf.py +531 -0
- numpy-1.10.0.post2/numpy/_import_tools.py +353 -0
- numpy-1.10.0.post2/numpy/add_newdocs.py +7611 -0
- numpy-1.10.0.post2/numpy/compat/_inspect.py +194 -0
- numpy-1.10.0.post2/numpy/compat/py3k.py +88 -0
- numpy-1.10.0.post2/numpy/compat/setup.py +12 -0
- numpy-1.10.0.post2/numpy/core/__init__.py +89 -0
- numpy-1.10.0.post2/numpy/core/_internal.py +761 -0
- numpy-1.10.0.post2/numpy/core/_methods.py +133 -0
- numpy-1.10.0.post2/numpy/core/arrayprint.py +760 -0
- numpy-1.10.0.post2/numpy/core/code_generators/cversions.txt +34 -0
- numpy-1.10.0.post2/numpy/core/code_generators/generate_ufunc_api.py +219 -0
- numpy-1.10.0.post2/numpy/core/code_generators/generate_umath.py +1017 -0
- numpy-1.10.0.post2/numpy/core/code_generators/numpy_api.py +415 -0
- numpy-1.10.0.post2/numpy/core/code_generators/ufunc_docstrings.py +3442 -0
- numpy-1.10.0.post2/numpy/core/defchararray.py +2689 -0
- numpy-1.10.0.post2/numpy/core/fromnumeric.py +3089 -0
- numpy-1.10.0.post2/numpy/core/function_base.py +203 -0
- numpy-1.10.0.post2/numpy/core/getlimits.py +308 -0
- numpy-1.10.0.post2/numpy/core/include/numpy/ndarrayobject.h +246 -0
- numpy-1.10.0.post2/numpy/core/include/numpy/ndarraytypes.h +1797 -0
- numpy-1.10.0.post2/numpy/core/include/numpy/npy_3kcompat.h +448 -0
- numpy-1.10.0.post2/numpy/core/include/numpy/npy_common.h +1051 -0
- numpy-1.10.0.post2/numpy/core/include/numpy/npy_cpu.h +92 -0
- numpy-1.10.0.post2/numpy/core/include/numpy/npy_endian.h +61 -0
- numpy-1.10.0.post2/numpy/core/include/numpy/npy_math.h +525 -0
- numpy-1.10.0.post2/numpy/core/include/numpy/numpyconfig.h +36 -0
- numpy-1.10.0.post2/numpy/core/machar.py +342 -0
- numpy-1.10.0.post2/numpy/core/memmap.py +311 -0
- numpy-1.10.0.post2/numpy/core/numeric.py +2893 -0
- numpy-1.10.0.post2/numpy/core/numerictypes.py +1036 -0
- numpy-1.10.0.post2/numpy/core/records.py +846 -0
- numpy-1.10.0.post2/numpy/core/setup.py +983 -0
- numpy-1.10.0.post2/numpy/core/setup_common.py +352 -0
- numpy-1.10.0.post2/numpy/core/shape_base.py +350 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/alloc.c +244 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/arrayobject.c +1858 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/arraytypes.c.src +4738 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/arraytypes.h +37 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/buffer.c +981 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/calculation.c +1224 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/cblasfuncs.c +812 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/cblasfuncs.h +10 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/common.c +911 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/common.h +250 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/compiled_base.c +1664 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/compiled_base.h +24 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/conversion_utils.c +1217 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/convert.c +590 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/convert_datatype.c +2155 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/ctors.c +3838 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/datetime.c +3821 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/datetime_busday.c +1322 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/datetime_busdaycal.c +552 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/datetime_strings.c +1772 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/descriptor.c +3719 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/dtype_transfer.c +4239 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/einsum.c.src +3005 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/getset.c +986 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/hashdescr.c +318 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/item_selection.c +2413 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/iterators.c +2192 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/lowlevel_strided_loops.c.src +1769 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/mapping.c +3380 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/mapping.h +77 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/methods.c +2514 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/multiarray_tests.c.src +1035 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/multiarraymodule.c +4628 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/multiarraymodule.h +15 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/nditer_api.c +2809 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/nditer_constr.c +3160 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/nditer_pywrap.c +2499 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/number.c +1106 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/number.h +77 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/numpymemoryview.c +308 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/numpyos.c +683 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/scalarapi.c +870 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/scalartypes.c.src +4343 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/scalartypes.h +55 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/shape.c +1131 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/ucsnarrow.c +174 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/vdot.c +180 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/vdot.h +18 -0
- numpy-1.10.0.post2/numpy/core/src/npymath/ieee754.c.src +808 -0
- numpy-1.10.0.post2/numpy/core/src/npymath/npy_math.c.src +597 -0
- numpy-1.10.0.post2/numpy/core/src/npymath/npy_math_complex.c.src +1788 -0
- numpy-1.10.0.post2/numpy/core/src/npymath/npy_math_private.h +544 -0
- numpy-1.10.0.post2/numpy/core/src/npysort/heapsort.c.src +402 -0
- numpy-1.10.0.post2/numpy/core/src/npysort/mergesort.c.src +488 -0
- numpy-1.10.0.post2/numpy/core/src/npysort/npysort_common.h +360 -0
- numpy-1.10.0.post2/numpy/core/src/npysort/quicksort.c.src +523 -0
- numpy-1.10.0.post2/numpy/core/src/npysort/selection.c.src +426 -0
- numpy-1.10.0.post2/numpy/core/src/private/npy_cblas.h +584 -0
- numpy-1.10.0.post2/numpy/core/src/private/npy_config.h +101 -0
- numpy-1.10.0.post2/numpy/core/src/private/npy_import.h +32 -0
- numpy-1.10.0.post2/numpy/core/src/private/npy_partition.h.src +122 -0
- numpy-1.10.0.post2/numpy/core/src/private/npy_sort.h +196 -0
- numpy-1.10.0.post2/numpy/core/src/private/templ_common.h.src +43 -0
- numpy-1.10.0.post2/numpy/core/src/private/ufunc_override.h +397 -0
- numpy-1.10.0.post2/numpy/core/src/umath/funcs.inc.src +356 -0
- numpy-1.10.0.post2/numpy/core/src/umath/loops.c.src +2675 -0
- numpy-1.10.0.post2/numpy/core/src/umath/loops.h.src +497 -0
- numpy-1.10.0.post2/numpy/core/src/umath/operand_flag_tests.c.src +105 -0
- numpy-1.10.0.post2/numpy/core/src/umath/scalarmath.c.src +1738 -0
- numpy-1.10.0.post2/numpy/core/src/umath/simd.inc.src +903 -0
- numpy-1.10.0.post2/numpy/core/src/umath/test_rational.c.src +1404 -0
- numpy-1.10.0.post2/numpy/core/src/umath/ufunc_object.c +5703 -0
- numpy-1.10.0.post2/numpy/core/src/umath/ufunc_type_resolution.c +2159 -0
- numpy-1.10.0.post2/numpy/core/src/umath/umath_tests.c.src +392 -0
- numpy-1.10.0.post2/numpy/core/src/umath/umathmodule.c +443 -0
- numpy-1.10.0.post2/numpy/core/tests/test_abc.py +47 -0
- numpy-1.10.0.post2/numpy/core/tests/test_api.py +515 -0
- numpy-1.10.0.post2/numpy/core/tests/test_arrayprint.py +171 -0
- numpy-1.10.0.post2/numpy/core/tests/test_datetime.py +1820 -0
- numpy-1.10.0.post2/numpy/core/tests/test_defchararray.py +703 -0
- numpy-1.10.0.post2/numpy/core/tests/test_deprecations.py +619 -0
- numpy-1.10.0.post2/numpy/core/tests/test_dtype.py +578 -0
- numpy-1.10.0.post2/numpy/core/tests/test_einsum.py +627 -0
- numpy-1.10.0.post2/numpy/core/tests/test_errstate.py +52 -0
- numpy-1.10.0.post2/numpy/core/tests/test_function_base.py +142 -0
- numpy-1.10.0.post2/numpy/core/tests/test_getlimits.py +77 -0
- numpy-1.10.0.post2/numpy/core/tests/test_half.py +436 -0
- numpy-1.10.0.post2/numpy/core/tests/test_indexerrors.py +126 -0
- numpy-1.10.0.post2/numpy/core/tests/test_indexing.py +1047 -0
- numpy-1.10.0.post2/numpy/core/tests/test_item_selection.py +73 -0
- numpy-1.10.0.post2/numpy/core/tests/test_machar.py +29 -0
- numpy-1.10.0.post2/numpy/core/tests/test_memmap.py +130 -0
- numpy-1.10.0.post2/numpy/core/tests/test_multiarray.py +5924 -0
- numpy-1.10.0.post2/numpy/core/tests/test_multiarray_assignment.py +84 -0
- numpy-1.10.0.post2/numpy/core/tests/test_nditer.py +2638 -0
- numpy-1.10.0.post2/numpy/core/tests/test_numeric.py +2204 -0
- numpy-1.10.0.post2/numpy/core/tests/test_numerictypes.py +382 -0
- numpy-1.10.0.post2/numpy/core/tests/test_print.py +248 -0
- numpy-1.10.0.post2/numpy/core/tests/test_records.py +299 -0
- numpy-1.10.0.post2/numpy/core/tests/test_regression.py +2177 -0
- numpy-1.10.0.post2/numpy/core/tests/test_scalarinherit.py +41 -0
- numpy-1.10.0.post2/numpy/core/tests/test_scalarmath.py +316 -0
- numpy-1.10.0.post2/numpy/core/tests/test_shape_base.py +319 -0
- numpy-1.10.0.post2/numpy/core/tests/test_ufunc.py +1227 -0
- numpy-1.10.0.post2/numpy/core/tests/test_umath.py +1933 -0
- numpy-1.10.0.post2/numpy/core/tests/test_umath_complex.py +538 -0
- numpy-1.10.0.post2/numpy/core/tests/test_unicode.py +360 -0
- numpy-1.10.0.post2/numpy/distutils/__init__.py +23 -0
- numpy-1.10.0.post2/numpy/distutils/ccompiler.py +690 -0
- numpy-1.10.0.post2/numpy/distutils/command/autodist.py +94 -0
- numpy-1.10.0.post2/numpy/distutils/command/build.py +47 -0
- numpy-1.10.0.post2/numpy/distutils/command/build_clib.py +295 -0
- numpy-1.10.0.post2/numpy/distutils/command/build_ext.py +522 -0
- numpy-1.10.0.post2/numpy/distutils/command/config.py +437 -0
- numpy-1.10.0.post2/numpy/distutils/exec_command.py +651 -0
- numpy-1.10.0.post2/numpy/distutils/fcompiler/compaq.py +128 -0
- numpy-1.10.0.post2/numpy/distutils/fcompiler/gnu.py +403 -0
- numpy-1.10.0.post2/numpy/distutils/fcompiler/intel.py +217 -0
- numpy-1.10.0.post2/numpy/distutils/fcompiler/pg.py +63 -0
- numpy-1.10.0.post2/numpy/distutils/fcompiler/sun.py +55 -0
- numpy-1.10.0.post2/numpy/distutils/intelccompiler.py +95 -0
- numpy-1.10.0.post2/numpy/distutils/lib2def.py +116 -0
- numpy-1.10.0.post2/numpy/distutils/mingw32ccompiler.py +599 -0
- numpy-1.10.0.post2/numpy/distutils/misc_util.py +2306 -0
- numpy-1.10.0.post2/numpy/distutils/msvc9compiler.py +23 -0
- numpy-1.10.0.post2/numpy/distutils/msvccompiler.py +17 -0
- numpy-1.10.0.post2/numpy/distutils/npy_pkg_config.py +451 -0
- numpy-1.10.0.post2/numpy/distutils/system_info.py +2397 -0
- numpy-1.10.0.post2/numpy/distutils/tests/f2py_ext/tests/test_fib2.py +12 -0
- numpy-1.10.0.post2/numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py +11 -0
- numpy-1.10.0.post2/numpy/distutils/tests/gen_ext/tests/test_fib3.py +11 -0
- numpy-1.10.0.post2/numpy/distutils/tests/pyrex_ext/tests/test_primes.py +13 -0
- numpy-1.10.0.post2/numpy/distutils/tests/swig_ext/__init__.py +1 -0
- numpy-1.10.0.post2/numpy/distutils/tests/swig_ext/tests/test_example.py +17 -0
- numpy-1.10.0.post2/numpy/distutils/tests/swig_ext/tests/test_example2.py +15 -0
- numpy-1.10.0.post2/numpy/distutils/tests/test_fcompiler_gnu.py +60 -0
- numpy-1.10.0.post2/numpy/distutils/tests/test_fcompiler_intel.py +36 -0
- numpy-1.10.0.post2/numpy/distutils/tests/test_misc_util.py +79 -0
- numpy-1.10.0.post2/numpy/distutils/tests/test_npy_pkg_config.py +102 -0
- numpy-1.10.0.post2/numpy/distutils/tests/test_system_info.py +209 -0
- numpy-1.10.0.post2/numpy/distutils/unixccompiler.py +125 -0
- numpy-1.10.0.post2/numpy/doc/byteswapping.py +156 -0
- numpy-1.10.0.post2/numpy/doc/creation.py +144 -0
- numpy-1.10.0.post2/numpy/doc/glossary.py +423 -0
- numpy-1.10.0.post2/numpy/doc/indexing.py +439 -0
- numpy-1.10.0.post2/numpy/doc/structured_arrays.py +290 -0
- numpy-1.10.0.post2/numpy/f2py/__init__.py +49 -0
- numpy-1.10.0.post2/numpy/f2py/__main__.py +25 -0
- numpy-1.10.0.post2/numpy/f2py/auxfuncs.py +858 -0
- numpy-1.10.0.post2/numpy/f2py/capi_maps.py +851 -0
- numpy-1.10.0.post2/numpy/f2py/cb_rules.py +554 -0
- numpy-1.10.0.post2/numpy/f2py/cfuncs.py +1261 -0
- numpy-1.10.0.post2/numpy/f2py/common_rules.py +150 -0
- numpy-1.10.0.post2/numpy/f2py/crackfortran.py +3314 -0
- numpy-1.10.0.post2/numpy/f2py/diagnose.py +156 -0
- numpy-1.10.0.post2/numpy/f2py/f2py2e.py +656 -0
- numpy-1.10.0.post2/numpy/f2py/f2py_testing.py +48 -0
- numpy-1.10.0.post2/numpy/f2py/f90mod_rules.py +272 -0
- numpy-1.10.0.post2/numpy/f2py/func2subr.py +299 -0
- numpy-1.10.0.post2/numpy/f2py/rules.py +1475 -0
- numpy-1.10.0.post2/numpy/f2py/setup.py +117 -0
- numpy-1.10.0.post2/numpy/f2py/src/fortranobject.c +1037 -0
- numpy-1.10.0.post2/numpy/f2py/src/fortranobject.h +162 -0
- numpy-1.10.0.post2/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c +223 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_array_from_pyobj.py +593 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_assumed_shape.py +35 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_callback.py +136 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_kind.py +36 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_mixed.py +40 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_regression.py +34 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_return_character.py +148 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_return_complex.py +170 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_return_integer.py +180 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_return_logical.py +189 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_return_real.py +206 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_size.py +44 -0
- numpy-1.10.0.post2/numpy/f2py/tests/util.py +367 -0
- numpy-1.10.0.post2/numpy/f2py/use_rules.py +115 -0
- numpy-1.10.0.post2/numpy/fft/fftpack.c +1501 -0
- numpy-1.10.0.post2/numpy/fft/fftpack.h +28 -0
- numpy-1.10.0.post2/numpy/fft/fftpack.py +1241 -0
- numpy-1.10.0.post2/numpy/fft/fftpack_litemodule.c +363 -0
- numpy-1.10.0.post2/numpy/fft/info.py +187 -0
- numpy-1.10.0.post2/numpy/fft/setup.py +19 -0
- numpy-1.10.0.post2/numpy/fft/tests/test_fftpack.py +166 -0
- numpy-1.10.0.post2/numpy/fft/tests/test_helper.py +78 -0
- numpy-1.10.0.post2/numpy/lib/_iotools.py +917 -0
- numpy-1.10.0.post2/numpy/lib/arraypad.py +1497 -0
- numpy-1.10.0.post2/numpy/lib/arraysetops.py +480 -0
- numpy-1.10.0.post2/numpy/lib/arrayterator.py +226 -0
- numpy-1.10.0.post2/numpy/lib/financial.py +737 -0
- numpy-1.10.0.post2/numpy/lib/format.py +814 -0
- numpy-1.10.0.post2/numpy/lib/function_base.py +4150 -0
- numpy-1.10.0.post2/numpy/lib/index_tricks.py +874 -0
- numpy-1.10.0.post2/numpy/lib/info.py +152 -0
- numpy-1.10.0.post2/numpy/lib/nanfunctions.py +1237 -0
- numpy-1.10.0.post2/numpy/lib/npyio.py +1992 -0
- numpy-1.10.0.post2/numpy/lib/polynomial.py +1277 -0
- numpy-1.10.0.post2/numpy/lib/recfunctions.py +1003 -0
- numpy-1.10.0.post2/numpy/lib/setup.py +12 -0
- numpy-1.10.0.post2/numpy/lib/shape_base.py +872 -0
- numpy-1.10.0.post2/numpy/lib/stride_tricks.py +200 -0
- numpy-1.10.0.post2/numpy/lib/tests/data/py2-objarr.npy +0 -0
- numpy-1.10.0.post2/numpy/lib/tests/data/py2-objarr.npz +0 -0
- numpy-1.10.0.post2/numpy/lib/tests/data/py3-objarr.npy +0 -0
- numpy-1.10.0.post2/numpy/lib/tests/data/py3-objarr.npz +0 -0
- numpy-1.10.0.post2/numpy/lib/tests/test__iotools.py +348 -0
- numpy-1.10.0.post2/numpy/lib/tests/test__version.py +70 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_arraypad.py +1047 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_arraysetops.py +309 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_financial.py +163 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_format.py +841 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_function_base.py +2555 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_index_tricks.py +326 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_io.py +1916 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_nanfunctions.py +707 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_packbits.py +26 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_polynomial.py +188 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_recfunctions.py +734 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_shape_base.py +386 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_stride_tricks.py +405 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_twodim_base.py +535 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_type_check.py +332 -0
- numpy-1.10.0.post2/numpy/lib/twodim_base.py +1007 -0
- numpy-1.10.0.post2/numpy/lib/type_check.py +596 -0
- numpy-1.10.0.post2/numpy/lib/utils.py +1122 -0
- numpy-1.10.0.post2/numpy/linalg/lapack_lite/python_xerbla.c +46 -0
- numpy-1.10.0.post2/numpy/linalg/lapack_litemodule.c +358 -0
- numpy-1.10.0.post2/numpy/linalg/linalg.py +2406 -0
- numpy-1.10.0.post2/numpy/linalg/tests/test_build.py +59 -0
- numpy-1.10.0.post2/numpy/linalg/tests/test_linalg.py +1351 -0
- numpy-1.10.0.post2/numpy/linalg/tests/test_regression.py +95 -0
- numpy-1.10.0.post2/numpy/linalg/umath_linalg.c.src +3236 -0
- numpy-1.10.0.post2/numpy/ma/__init__.py +56 -0
- numpy-1.10.0.post2/numpy/ma/bench.py +131 -0
- numpy-1.10.0.post2/numpy/ma/core.py +7608 -0
- numpy-1.10.0.post2/numpy/ma/extras.py +1953 -0
- numpy-1.10.0.post2/numpy/ma/mrecords.py +796 -0
- numpy-1.10.0.post2/numpy/ma/setup.py +13 -0
- numpy-1.10.0.post2/numpy/ma/tests/test_core.py +4100 -0
- numpy-1.10.0.post2/numpy/ma/tests/test_extras.py +1132 -0
- numpy-1.10.0.post2/numpy/ma/tests/test_mrecords.py +520 -0
- numpy-1.10.0.post2/numpy/ma/tests/test_old_ma.py +879 -0
- numpy-1.10.0.post2/numpy/ma/tests/test_regression.py +80 -0
- numpy-1.10.0.post2/numpy/ma/tests/test_subclassing.py +338 -0
- numpy-1.10.0.post2/numpy/ma/testutils.py +289 -0
- numpy-1.10.0.post2/numpy/ma/timer_comparison.py +440 -0
- numpy-1.10.0.post2/numpy/matlib.py +358 -0
- numpy-1.10.0.post2/numpy/matrixlib/defmatrix.py +1232 -0
- numpy-1.10.0.post2/numpy/matrixlib/tests/test_defmatrix.py +449 -0
- numpy-1.10.0.post2/numpy/matrixlib/tests/test_multiarray.py +23 -0
- numpy-1.10.0.post2/numpy/matrixlib/tests/test_numeric.py +23 -0
- numpy-1.10.0.post2/numpy/matrixlib/tests/test_regression.py +37 -0
- numpy-1.10.0.post2/numpy/polynomial/_polybase.py +962 -0
- numpy-1.10.0.post2/numpy/polynomial/chebyshev.py +2056 -0
- numpy-1.10.0.post2/numpy/polynomial/hermite.py +1831 -0
- numpy-1.10.0.post2/numpy/polynomial/hermite_e.py +1828 -0
- numpy-1.10.0.post2/numpy/polynomial/laguerre.py +1780 -0
- numpy-1.10.0.post2/numpy/polynomial/legendre.py +1808 -0
- numpy-1.10.0.post2/numpy/polynomial/polyutils.py +403 -0
- numpy-1.10.0.post2/numpy/random/mtrand/distributions.c +912 -0
- numpy-1.10.0.post2/numpy/random/mtrand/mtrand.c +34805 -0
- numpy-1.10.0.post2/numpy/random/mtrand/mtrand.pyx +4766 -0
- numpy-1.10.0.post2/numpy/random/setup.py +61 -0
- numpy-1.10.0.post2/numpy/random/tests/test_random.py +723 -0
- numpy-1.10.0.post2/numpy/random/tests/test_regression.py +117 -0
- numpy-1.10.0.post2/numpy/setup.py +29 -0
- numpy-1.10.0.post2/numpy/testing/__init__.py +15 -0
- numpy-1.10.0.post2/numpy/testing/decorators.py +271 -0
- numpy-1.10.0.post2/numpy/testing/noseclasses.py +353 -0
- numpy-1.10.0.post2/numpy/testing/nosetester.py +511 -0
- numpy-1.10.0.post2/numpy/testing/print_coercion_tables.py +91 -0
- numpy-1.10.0.post2/numpy/testing/setup.py +20 -0
- numpy-1.10.0.post2/numpy/testing/tests/test_decorators.py +182 -0
- numpy-1.10.0.post2/numpy/testing/tests/test_utils.py +781 -0
- numpy-1.10.0.post2/numpy/testing/utils.py +1831 -0
- numpy-1.10.0.post2/numpy/tests/test_ctypeslib.py +106 -0
- numpy-1.10.0.post2/numpy/tests/test_matlib.py +55 -0
- numpy-1.10.0.post2/numpy/tests/test_scripts.py +69 -0
- numpy-1.10.0.post2/numpy/version.py +10 -0
- numpy-1.10.0.post2/setup.py +260 -0
- numpy-1.10.0.post2/site.cfg.example +193 -0
- numpy-1.10.0.post2/tmp.txt +789 -0
- numpy-1.10.0.post2/tools/swig/README +145 -0
- numpy-1.10.0.post2/tools/swig/numpy.i +3161 -0
- numpy-1.10.0.post2/tools/swig/test/Array.i +135 -0
- numpy-1.10.0.post2/tools/swig/test/ArrayZ.cxx +131 -0
- numpy-1.10.0.post2/tools/swig/test/ArrayZ.h +56 -0
- numpy-1.10.0.post2/tools/swig/test/Flat.cxx +36 -0
- numpy-1.10.0.post2/tools/swig/test/Flat.h +34 -0
- numpy-1.10.0.post2/tools/swig/test/Flat.i +36 -0
- numpy-1.10.0.post2/tools/swig/test/Makefile +37 -0
- numpy-1.10.0.post2/tools/swig/test/setup.py +71 -0
- numpy-1.10.0.post2/tools/swig/test/testArray.py +385 -0
- numpy-1.10.0.post2/tools/swig/test/testFarray.py +159 -0
- numpy-1.10.0.post2/tools/swig/test/testFlat.py +200 -0
- numpy-1.10.0.post2/tools/swig/test/testFortran.py +173 -0
- numpy-1.10.0.post2/tools/swig/test/testMatrix.py +362 -0
- numpy-1.10.0.post2/tools/swig/test/testSuperTensor.py +388 -0
- numpy-1.10.0.post2/tools/swig/test/testTensor.py +402 -0
- numpy-1.10.0.post2/tools/swig/test/testVector.py +381 -0
- numpy-1.9.3/INSTALL.txt +0 -138
- numpy-1.9.3/LICENSE.txt +0 -30
- numpy-1.9.3/MANIFEST.in +0 -26
- numpy-1.9.3/PKG-INFO +0 -39
- numpy-1.9.3/doc/release/1.9.3-notes.rst +0 -23
- numpy-1.9.3/doc/source/conf.py +0 -331
- numpy-1.9.3/doc/source/dev/gitwash/branch_list.png +0 -0
- numpy-1.9.3/doc/source/dev/gitwash/branch_list_compare.png +0 -0
- numpy-1.9.3/doc/source/dev/gitwash/development_workflow.rst +0 -568
- numpy-1.9.3/doc/source/dev/gitwash/git_links.inc +0 -88
- numpy-1.9.3/doc/source/dev/gitwash/index.rst +0 -14
- numpy-1.9.3/doc/source/dev/index.rst +0 -10
- numpy-1.9.3/doc/source/reference/arrays.classes.rst +0 -427
- numpy-1.9.3/doc/source/reference/arrays.dtypes.rst +0 -534
- numpy-1.9.3/doc/source/reference/arrays.indexing.rst +0 -550
- numpy-1.9.3/doc/source/reference/arrays.interface.rst +0 -336
- numpy-1.9.3/doc/source/reference/arrays.ndarray.rst +0 -609
- numpy-1.9.3/doc/source/reference/arrays.scalars.rst +0 -291
- numpy-1.9.3/doc/source/reference/c-api.array.rst +0 -3362
- numpy-1.9.3/doc/source/reference/c-api.config.rst +0 -103
- numpy-1.9.3/doc/source/reference/c-api.coremath.rst +0 -420
- numpy-1.9.3/doc/source/reference/c-api.dtype.rst +0 -376
- numpy-1.9.3/doc/source/reference/c-api.generalized-ufuncs.rst +0 -171
- numpy-1.9.3/doc/source/reference/c-api.iterator.rst +0 -1298
- numpy-1.9.3/doc/source/reference/c-api.types-and-structures.rst +0 -1204
- numpy-1.9.3/doc/source/reference/c-api.ufunc.rst +0 -399
- numpy-1.9.3/doc/source/reference/index.rst +0 -44
- numpy-1.9.3/doc/source/reference/internals.code-explanations.rst +0 -666
- numpy-1.9.3/doc/source/reference/routines.array-manipulation.rst +0 -113
- numpy-1.9.3/doc/source/reference/routines.io.rst +0 -74
- numpy-1.9.3/doc/source/reference/routines.linalg.rst +0 -88
- numpy-1.9.3/doc/source/reference/routines.ma.rst +0 -405
- numpy-1.9.3/doc/source/reference/routines.sort.rst +0 -42
- numpy-1.9.3/doc/source/reference/routines.statistics.rst +0 -55
- numpy-1.9.3/doc/source/reference/swig.interface-file.rst +0 -1055
- numpy-1.9.3/doc/source/reference/swig.testing.rst +0 -166
- numpy-1.9.3/doc/source/reference/ufuncs.rst +0 -651
- numpy-1.9.3/doc/source/release.rst +0 -19
- numpy-1.9.3/doc/source/user/basics.io.genfromtxt.rst +0 -531
- numpy-1.9.3/doc/source/user/basics.rec.rst +0 -7
- numpy-1.9.3/doc/source/user/c-info.beyond-basics.rst +0 -560
- numpy-1.9.3/doc/source/user/c-info.how-to-extend.rst +0 -642
- numpy-1.9.3/doc/source/user/c-info.python-as-glue.rst +0 -1528
- numpy-1.9.3/doc/source/user/c-info.ufunc-tutorial.rst +0 -1211
- numpy-1.9.3/doc/source/user/install.rst +0 -180
- numpy-1.9.3/numpy/__init__.py +0 -216
- numpy-1.9.3/numpy/_import_tools.py +0 -348
- numpy-1.9.3/numpy/add_newdocs.py +0 -7518
- numpy-1.9.3/numpy/compat/_inspect.py +0 -221
- numpy-1.9.3/numpy/compat/py3k.py +0 -89
- numpy-1.9.3/numpy/compat/setup.py +0 -12
- numpy-1.9.3/numpy/core/__init__.py +0 -78
- numpy-1.9.3/numpy/core/_internal.py +0 -570
- numpy-1.9.3/numpy/core/_methods.py +0 -134
- numpy-1.9.3/numpy/core/arrayprint.py +0 -752
- numpy-1.9.3/numpy/core/blasdot/_dotblas.c +0 -1255
- numpy-1.9.3/numpy/core/blasdot/apple_sgemv_patch.c +0 -216
- numpy-1.9.3/numpy/core/blasdot/cblas.h +0 -578
- numpy-1.9.3/numpy/core/code_generators/cversions.txt +0 -31
- numpy-1.9.3/numpy/core/code_generators/generate_ufunc_api.py +0 -219
- numpy-1.9.3/numpy/core/code_generators/generate_umath.py +0 -972
- numpy-1.9.3/numpy/core/code_generators/numpy_api.py +0 -412
- numpy-1.9.3/numpy/core/code_generators/ufunc_docstrings.py +0 -3419
- numpy-1.9.3/numpy/core/defchararray.py +0 -2687
- numpy-1.9.3/numpy/core/fromnumeric.py +0 -2938
- numpy-1.9.3/numpy/core/function_base.py +0 -190
- numpy-1.9.3/numpy/core/getlimits.py +0 -306
- numpy-1.9.3/numpy/core/include/numpy/fenv/fenv.c +0 -38
- numpy-1.9.3/numpy/core/include/numpy/fenv/fenv.h +0 -224
- numpy-1.9.3/numpy/core/include/numpy/ndarrayobject.h +0 -237
- numpy-1.9.3/numpy/core/include/numpy/ndarraytypes.h +0 -1820
- numpy-1.9.3/numpy/core/include/numpy/npy_3kcompat.h +0 -506
- numpy-1.9.3/numpy/core/include/numpy/npy_common.h +0 -1038
- numpy-1.9.3/numpy/core/include/numpy/npy_cpu.h +0 -122
- numpy-1.9.3/numpy/core/include/numpy/npy_endian.h +0 -49
- numpy-1.9.3/numpy/core/include/numpy/npy_math.h +0 -479
- numpy-1.9.3/numpy/core/include/numpy/numpyconfig.h +0 -35
- numpy-1.9.3/numpy/core/machar.py +0 -338
- numpy-1.9.3/numpy/core/memmap.py +0 -308
- numpy-1.9.3/numpy/core/numeric.py +0 -2842
- numpy-1.9.3/numpy/core/numerictypes.py +0 -1042
- numpy-1.9.3/numpy/core/records.py +0 -804
- numpy-1.9.3/numpy/core/setup.py +0 -1016
- numpy-1.9.3/numpy/core/setup_common.py +0 -330
- numpy-1.9.3/numpy/core/shape_base.py +0 -277
- numpy-1.9.3/numpy/core/src/multiarray/alloc.c +0 -241
- numpy-1.9.3/numpy/core/src/multiarray/arrayobject.c +0 -1791
- numpy-1.9.3/numpy/core/src/multiarray/arraytypes.c.src +0 -4372
- numpy-1.9.3/numpy/core/src/multiarray/arraytypes.h +0 -13
- numpy-1.9.3/numpy/core/src/multiarray/buffer.c +0 -954
- numpy-1.9.3/numpy/core/src/multiarray/calculation.c +0 -1229
- numpy-1.9.3/numpy/core/src/multiarray/common.c +0 -798
- numpy-1.9.3/numpy/core/src/multiarray/common.h +0 -328
- numpy-1.9.3/numpy/core/src/multiarray/conversion_utils.c +0 -1240
- numpy-1.9.3/numpy/core/src/multiarray/convert.c +0 -589
- numpy-1.9.3/numpy/core/src/multiarray/convert_datatype.c +0 -2199
- numpy-1.9.3/numpy/core/src/multiarray/ctors.c +0 -3785
- numpy-1.9.3/numpy/core/src/multiarray/datetime.c +0 -3823
- numpy-1.9.3/numpy/core/src/multiarray/datetime_busday.c +0 -1322
- numpy-1.9.3/numpy/core/src/multiarray/datetime_busdaycal.c +0 -552
- numpy-1.9.3/numpy/core/src/multiarray/datetime_strings.c +0 -1772
- numpy-1.9.3/numpy/core/src/multiarray/descriptor.c +0 -3658
- numpy-1.9.3/numpy/core/src/multiarray/dtype_transfer.c +0 -4232
- numpy-1.9.3/numpy/core/src/multiarray/einsum.c.src +0 -3013
- numpy-1.9.3/numpy/core/src/multiarray/getset.c +0 -984
- numpy-1.9.3/numpy/core/src/multiarray/hashdescr.c +0 -319
- numpy-1.9.3/numpy/core/src/multiarray/item_selection.c +0 -2711
- numpy-1.9.3/numpy/core/src/multiarray/iterators.c +0 -2160
- numpy-1.9.3/numpy/core/src/multiarray/lowlevel_strided_loops.c.src +0 -1767
- numpy-1.9.3/numpy/core/src/multiarray/mapping.c +0 -3316
- numpy-1.9.3/numpy/core/src/multiarray/mapping.h +0 -73
- numpy-1.9.3/numpy/core/src/multiarray/methods.c +0 -2497
- numpy-1.9.3/numpy/core/src/multiarray/multiarray_tests.c.src +0 -977
- numpy-1.9.3/numpy/core/src/multiarray/multiarraymodule.c +0 -4200
- numpy-1.9.3/numpy/core/src/multiarray/multiarraymodule.h +0 -4
- numpy-1.9.3/numpy/core/src/multiarray/nditer_api.c +0 -2809
- numpy-1.9.3/numpy/core/src/multiarray/nditer_constr.c +0 -3159
- numpy-1.9.3/numpy/core/src/multiarray/nditer_pywrap.c +0 -2492
- numpy-1.9.3/numpy/core/src/multiarray/number.c +0 -1057
- numpy-1.9.3/numpy/core/src/multiarray/number.h +0 -76
- numpy-1.9.3/numpy/core/src/multiarray/numpymemoryview.c +0 -309
- numpy-1.9.3/numpy/core/src/multiarray/numpyos.c +0 -683
- numpy-1.9.3/numpy/core/src/multiarray/scalarapi.c +0 -861
- numpy-1.9.3/numpy/core/src/multiarray/scalartypes.c.src +0 -4270
- numpy-1.9.3/numpy/core/src/multiarray/scalartypes.h +0 -52
- numpy-1.9.3/numpy/core/src/multiarray/shape.c +0 -1141
- numpy-1.9.3/numpy/core/src/multiarray/ucsnarrow.c +0 -173
- numpy-1.9.3/numpy/core/src/npymath/ieee754.c.src +0 -814
- numpy-1.9.3/numpy/core/src/npymath/npy_math.c.src +0 -527
- numpy-1.9.3/numpy/core/src/npymath/npy_math_complex.c.src +0 -291
- numpy-1.9.3/numpy/core/src/npymath/npy_math_private.h +0 -539
- numpy-1.9.3/numpy/core/src/npysort/heapsort.c.src +0 -341
- numpy-1.9.3/numpy/core/src/npysort/mergesort.c.src +0 -428
- numpy-1.9.3/numpy/core/src/npysort/npysort_common.h +0 -367
- numpy-1.9.3/numpy/core/src/npysort/quicksort.c.src +0 -363
- numpy-1.9.3/numpy/core/src/npysort/selection.c.src +0 -474
- numpy-1.9.3/numpy/core/src/private/npy_config.h +0 -68
- numpy-1.9.3/numpy/core/src/private/npy_partition.h.src +0 -138
- numpy-1.9.3/numpy/core/src/private/npy_sort.h +0 -194
- numpy-1.9.3/numpy/core/src/private/scalarmathmodule.h.src +0 -42
- numpy-1.9.3/numpy/core/src/private/ufunc_override.h +0 -384
- numpy-1.9.3/numpy/core/src/scalarmathmodule.c.src +0 -1980
- numpy-1.9.3/numpy/core/src/umath/funcs.inc.src +0 -715
- numpy-1.9.3/numpy/core/src/umath/loops.c.src +0 -2654
- numpy-1.9.3/numpy/core/src/umath/loops.h.src +0 -501
- numpy-1.9.3/numpy/core/src/umath/operand_flag_tests.c.src +0 -105
- numpy-1.9.3/numpy/core/src/umath/simd.inc.src +0 -881
- numpy-1.9.3/numpy/core/src/umath/test_rational.c.src +0 -1404
- numpy-1.9.3/numpy/core/src/umath/ufunc_object.c +0 -5520
- numpy-1.9.3/numpy/core/src/umath/ufunc_type_resolution.c +0 -2164
- numpy-1.9.3/numpy/core/src/umath/umath_tests.c.src +0 -341
- numpy-1.9.3/numpy/core/src/umath/umathmodule.c +0 -561
- numpy-1.9.3/numpy/core/tests/test_abc.py +0 -45
- numpy-1.9.3/numpy/core/tests/test_api.py +0 -514
- numpy-1.9.3/numpy/core/tests/test_arrayprint.py +0 -167
- numpy-1.9.3/numpy/core/tests/test_blasdot.py +0 -249
- numpy-1.9.3/numpy/core/tests/test_datetime.py +0 -1781
- numpy-1.9.3/numpy/core/tests/test_defchararray.py +0 -642
- numpy-1.9.3/numpy/core/tests/test_deprecations.py +0 -512
- numpy-1.9.3/numpy/core/tests/test_dtype.py +0 -542
- numpy-1.9.3/numpy/core/tests/test_einsum.py +0 -583
- numpy-1.9.3/numpy/core/tests/test_errstate.py +0 -51
- numpy-1.9.3/numpy/core/tests/test_function_base.py +0 -111
- numpy-1.9.3/numpy/core/tests/test_getlimits.py +0 -86
- numpy-1.9.3/numpy/core/tests/test_half.py +0 -439
- numpy-1.9.3/numpy/core/tests/test_indexerrors.py +0 -127
- numpy-1.9.3/numpy/core/tests/test_indexing.py +0 -1014
- numpy-1.9.3/numpy/core/tests/test_item_selection.py +0 -70
- numpy-1.9.3/numpy/core/tests/test_machar.py +0 -30
- numpy-1.9.3/numpy/core/tests/test_memmap.py +0 -127
- numpy-1.9.3/numpy/core/tests/test_multiarray.py +0 -4645
- numpy-1.9.3/numpy/core/tests/test_multiarray_assignment.py +0 -80
- numpy-1.9.3/numpy/core/tests/test_nditer.py +0 -2630
- numpy-1.9.3/numpy/core/tests/test_numeric.py +0 -2117
- numpy-1.9.3/numpy/core/tests/test_numerictypes.py +0 -377
- numpy-1.9.3/numpy/core/tests/test_print.py +0 -245
- numpy-1.9.3/numpy/core/tests/test_records.py +0 -185
- numpy-1.9.3/numpy/core/tests/test_regression.py +0 -2115
- numpy-1.9.3/numpy/core/tests/test_scalarinherit.py +0 -34
- numpy-1.9.3/numpy/core/tests/test_scalarmath.py +0 -275
- numpy-1.9.3/numpy/core/tests/test_shape_base.py +0 -250
- numpy-1.9.3/numpy/core/tests/test_ufunc.py +0 -1153
- numpy-1.9.3/numpy/core/tests/test_umath.py +0 -1695
- numpy-1.9.3/numpy/core/tests/test_umath_complex.py +0 -537
- numpy-1.9.3/numpy/core/tests/test_unicode.py +0 -357
- numpy-1.9.3/numpy/distutils/__init__.py +0 -39
- numpy-1.9.3/numpy/distutils/ccompiler.py +0 -656
- numpy-1.9.3/numpy/distutils/command/autodist.py +0 -43
- numpy-1.9.3/numpy/distutils/command/build.py +0 -39
- numpy-1.9.3/numpy/distutils/command/build_clib.py +0 -284
- numpy-1.9.3/numpy/distutils/command/build_ext.py +0 -515
- numpy-1.9.3/numpy/distutils/command/config.py +0 -476
- numpy-1.9.3/numpy/distutils/exec_command.py +0 -618
- numpy-1.9.3/numpy/distutils/fcompiler/compaq.py +0 -128
- numpy-1.9.3/numpy/distutils/fcompiler/gnu.py +0 -390
- numpy-1.9.3/numpy/distutils/fcompiler/intel.py +0 -205
- numpy-1.9.3/numpy/distutils/fcompiler/pg.py +0 -60
- numpy-1.9.3/numpy/distutils/fcompiler/sun.py +0 -52
- numpy-1.9.3/numpy/distutils/intelccompiler.py +0 -45
- numpy-1.9.3/numpy/distutils/lib2def.py +0 -116
- numpy-1.9.3/numpy/distutils/mingw32ccompiler.py +0 -582
- numpy-1.9.3/numpy/distutils/misc_util.py +0 -2271
- numpy-1.9.3/numpy/distutils/npy_pkg_config.py +0 -464
- numpy-1.9.3/numpy/distutils/system_info.py +0 -2319
- numpy-1.9.3/numpy/distutils/tests/f2py_ext/tests/test_fib2.py +0 -13
- numpy-1.9.3/numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py +0 -12
- numpy-1.9.3/numpy/distutils/tests/gen_ext/tests/test_fib3.py +0 -12
- numpy-1.9.3/numpy/distutils/tests/pyrex_ext/tests/test_primes.py +0 -14
- numpy-1.9.3/numpy/distutils/tests/swig_ext/tests/test_example.py +0 -18
- numpy-1.9.3/numpy/distutils/tests/swig_ext/tests/test_example2.py +0 -16
- numpy-1.9.3/numpy/distutils/tests/test_fcompiler_gnu.py +0 -53
- numpy-1.9.3/numpy/distutils/tests/test_fcompiler_intel.py +0 -36
- numpy-1.9.3/numpy/distutils/tests/test_misc_util.py +0 -75
- numpy-1.9.3/numpy/distutils/tests/test_npy_pkg_config.py +0 -98
- numpy-1.9.3/numpy/distutils/unixccompiler.py +0 -113
- numpy-1.9.3/numpy/doc/byteswapping.py +0 -147
- numpy-1.9.3/numpy/doc/creation.py +0 -144
- numpy-1.9.3/numpy/doc/glossary.py +0 -418
- numpy-1.9.3/numpy/doc/indexing.py +0 -437
- numpy-1.9.3/numpy/doc/structured_arrays.py +0 -223
- numpy-1.9.3/numpy/f2py/__init__.py +0 -49
- numpy-1.9.3/numpy/f2py/auxfuncs.py +0 -711
- numpy-1.9.3/numpy/f2py/capi_maps.py +0 -773
- numpy-1.9.3/numpy/f2py/cb_rules.py +0 -539
- numpy-1.9.3/numpy/f2py/cfuncs.py +0 -1224
- numpy-1.9.3/numpy/f2py/common_rules.py +0 -132
- numpy-1.9.3/numpy/f2py/crackfortran.py +0 -2870
- numpy-1.9.3/numpy/f2py/diagnose.py +0 -149
- numpy-1.9.3/numpy/f2py/f2py2e.py +0 -598
- numpy-1.9.3/numpy/f2py/f2py_testing.py +0 -46
- numpy-1.9.3/numpy/f2py/f90mod_rules.py +0 -246
- numpy-1.9.3/numpy/f2py/func2subr.py +0 -291
- numpy-1.9.3/numpy/f2py/rules.py +0 -1448
- numpy-1.9.3/numpy/f2py/setup.py +0 -129
- numpy-1.9.3/numpy/f2py/src/fortranobject.c +0 -972
- numpy-1.9.3/numpy/f2py/src/fortranobject.h +0 -162
- numpy-1.9.3/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c +0 -223
- numpy-1.9.3/numpy/f2py/tests/test_array_from_pyobj.py +0 -559
- numpy-1.9.3/numpy/f2py/tests/test_assumed_shape.py +0 -37
- numpy-1.9.3/numpy/f2py/tests/test_callback.py +0 -132
- numpy-1.9.3/numpy/f2py/tests/test_kind.py +0 -36
- numpy-1.9.3/numpy/f2py/tests/test_mixed.py +0 -41
- numpy-1.9.3/numpy/f2py/tests/test_regression.py +0 -32
- numpy-1.9.3/numpy/f2py/tests/test_return_character.py +0 -142
- numpy-1.9.3/numpy/f2py/tests/test_return_complex.py +0 -169
- numpy-1.9.3/numpy/f2py/tests/test_return_integer.py +0 -178
- numpy-1.9.3/numpy/f2py/tests/test_return_logical.py +0 -187
- numpy-1.9.3/numpy/f2py/tests/test_return_real.py +0 -203
- numpy-1.9.3/numpy/f2py/tests/test_size.py +0 -47
- numpy-1.9.3/numpy/f2py/tests/util.py +0 -353
- numpy-1.9.3/numpy/f2py/use_rules.py +0 -109
- numpy-1.9.3/numpy/fft/fftpack.c +0 -1501
- numpy-1.9.3/numpy/fft/fftpack.h +0 -28
- numpy-1.9.3/numpy/fft/fftpack.py +0 -1169
- numpy-1.9.3/numpy/fft/fftpack_litemodule.c +0 -371
- numpy-1.9.3/numpy/fft/info.py +0 -179
- numpy-1.9.3/numpy/fft/setup.py +0 -20
- numpy-1.9.3/numpy/fft/tests/test_fftpack.py +0 -75
- numpy-1.9.3/numpy/fft/tests/test_helper.py +0 -78
- numpy-1.9.3/numpy/lib/_iotools.py +0 -891
- numpy-1.9.3/numpy/lib/arraypad.py +0 -1475
- numpy-1.9.3/numpy/lib/arraysetops.py +0 -464
- numpy-1.9.3/numpy/lib/arrayterator.py +0 -226
- numpy-1.9.3/numpy/lib/financial.py +0 -737
- numpy-1.9.3/numpy/lib/format.py +0 -771
- numpy-1.9.3/numpy/lib/function_base.py +0 -3884
- numpy-1.9.3/numpy/lib/index_tricks.py +0 -869
- numpy-1.9.3/numpy/lib/info.py +0 -151
- numpy-1.9.3/numpy/lib/nanfunctions.py +0 -1158
- numpy-1.9.3/numpy/lib/npyio.py +0 -1871
- numpy-1.9.3/numpy/lib/polynomial.py +0 -1271
- numpy-1.9.3/numpy/lib/recfunctions.py +0 -1003
- numpy-1.9.3/numpy/lib/setup.py +0 -23
- numpy-1.9.3/numpy/lib/shape_base.py +0 -865
- numpy-1.9.3/numpy/lib/src/_compiled_base.c +0 -1761
- numpy-1.9.3/numpy/lib/stride_tricks.py +0 -123
- numpy-1.9.3/numpy/lib/tests/test__iotools.py +0 -326
- numpy-1.9.3/numpy/lib/tests/test__version.py +0 -57
- numpy-1.9.3/numpy/lib/tests/test_arraypad.py +0 -560
- numpy-1.9.3/numpy/lib/tests/test_arraysetops.py +0 -301
- numpy-1.9.3/numpy/lib/tests/test_financial.py +0 -160
- numpy-1.9.3/numpy/lib/tests/test_format.py +0 -716
- numpy-1.9.3/numpy/lib/tests/test_function_base.py +0 -2145
- numpy-1.9.3/numpy/lib/tests/test_index_tricks.py +0 -289
- numpy-1.9.3/numpy/lib/tests/test_io.py +0 -1754
- numpy-1.9.3/numpy/lib/tests/test_nanfunctions.py +0 -774
- numpy-1.9.3/numpy/lib/tests/test_polynomial.py +0 -177
- numpy-1.9.3/numpy/lib/tests/test_recfunctions.py +0 -705
- numpy-1.9.3/numpy/lib/tests/test_shape_base.py +0 -368
- numpy-1.9.3/numpy/lib/tests/test_stride_tricks.py +0 -238
- numpy-1.9.3/numpy/lib/tests/test_twodim_base.py +0 -504
- numpy-1.9.3/numpy/lib/tests/test_type_check.py +0 -328
- numpy-1.9.3/numpy/lib/twodim_base.py +0 -1003
- numpy-1.9.3/numpy/lib/type_check.py +0 -605
- numpy-1.9.3/numpy/lib/utils.py +0 -1176
- numpy-1.9.3/numpy/linalg/lapack_lite/python_xerbla.c +0 -47
- numpy-1.9.3/numpy/linalg/lapack_litemodule.c +0 -362
- numpy-1.9.3/numpy/linalg/linalg.py +0 -2136
- numpy-1.9.3/numpy/linalg/tests/test_build.py +0 -53
- numpy-1.9.3/numpy/linalg/tests/test_linalg.py +0 -1156
- numpy-1.9.3/numpy/linalg/tests/test_regression.py +0 -90
- numpy-1.9.3/numpy/linalg/umath_linalg.c.src +0 -3210
- numpy-1.9.3/numpy/ma/__init__.py +0 -58
- numpy-1.9.3/numpy/ma/bench.py +0 -166
- numpy-1.9.3/numpy/ma/core.py +0 -7374
- numpy-1.9.3/numpy/ma/extras.py +0 -1932
- numpy-1.9.3/numpy/ma/mrecords.py +0 -734
- numpy-1.9.3/numpy/ma/setup.py +0 -20
- numpy-1.9.3/numpy/ma/tests/test_core.py +0 -3706
- numpy-1.9.3/numpy/ma/tests/test_extras.py +0 -954
- numpy-1.9.3/numpy/ma/tests/test_mrecords.py +0 -521
- numpy-1.9.3/numpy/ma/tests/test_old_ma.py +0 -869
- numpy-1.9.3/numpy/ma/tests/test_regression.py +0 -75
- numpy-1.9.3/numpy/ma/tests/test_subclassing.py +0 -236
- numpy-1.9.3/numpy/ma/testutils.py +0 -240
- numpy-1.9.3/numpy/ma/timer_comparison.py +0 -459
- numpy-1.9.3/numpy/matlib.py +0 -358
- numpy-1.9.3/numpy/matrixlib/defmatrix.py +0 -1094
- numpy-1.9.3/numpy/matrixlib/tests/test_defmatrix.py +0 -400
- numpy-1.9.3/numpy/matrixlib/tests/test_multiarray.py +0 -18
- numpy-1.9.3/numpy/matrixlib/tests/test_numeric.py +0 -10
- numpy-1.9.3/numpy/matrixlib/tests/test_regression.py +0 -34
- numpy-1.9.3/numpy/polynomial/_polybase.py +0 -962
- numpy-1.9.3/numpy/polynomial/chebyshev.py +0 -2056
- numpy-1.9.3/numpy/polynomial/hermite.py +0 -1789
- numpy-1.9.3/numpy/polynomial/hermite_e.py +0 -1786
- numpy-1.9.3/numpy/polynomial/laguerre.py +0 -1781
- numpy-1.9.3/numpy/polynomial/legendre.py +0 -1809
- numpy-1.9.3/numpy/polynomial/polytemplate.py +0 -927
- numpy-1.9.3/numpy/polynomial/polyutils.py +0 -403
- numpy-1.9.3/numpy/random/mtrand/distributions.c +0 -892
- numpy-1.9.3/numpy/random/mtrand/mtrand.c +0 -36656
- numpy-1.9.3/numpy/random/mtrand/mtrand.pyx +0 -4706
- numpy-1.9.3/numpy/random/setup.py +0 -74
- numpy-1.9.3/numpy/random/tests/test_random.py +0 -707
- numpy-1.9.3/numpy/random/tests/test_regression.py +0 -86
- numpy-1.9.3/numpy/setup.py +0 -27
- numpy-1.9.3/numpy/testing/__init__.py +0 -16
- numpy-1.9.3/numpy/testing/decorators.py +0 -271
- numpy-1.9.3/numpy/testing/noseclasses.py +0 -353
- numpy-1.9.3/numpy/testing/nosetester.py +0 -504
- numpy-1.9.3/numpy/testing/print_coercion_tables.py +0 -89
- numpy-1.9.3/numpy/testing/setup.py +0 -20
- numpy-1.9.3/numpy/testing/tests/test_decorators.py +0 -185
- numpy-1.9.3/numpy/testing/tests/test_utils.py +0 -558
- numpy-1.9.3/numpy/testing/utils.py +0 -1715
- numpy-1.9.3/numpy/tests/test_ctypeslib.py +0 -102
- numpy-1.9.3/numpy/tests/test_matlib.py +0 -55
- numpy-1.9.3/numpy/version.py +0 -10
- numpy-1.9.3/setup.py +0 -251
- numpy-1.9.3/site.cfg.example +0 -157
- numpy-1.9.3/tools/swig/README +0 -135
- numpy-1.9.3/tools/swig/numpy.i +0 -3085
- numpy-1.9.3/tools/swig/test/Array.i +0 -102
- numpy-1.9.3/tools/swig/test/Makefile +0 -34
- numpy-1.9.3/tools/swig/test/setup.py +0 -64
- numpy-1.9.3/tools/swig/test/testArray.py +0 -284
- numpy-1.9.3/tools/swig/test/testFarray.py +0 -159
- numpy-1.9.3/tools/swig/test/testFortran.py +0 -173
- numpy-1.9.3/tools/swig/test/testMatrix.py +0 -362
- numpy-1.9.3/tools/swig/test/testSuperTensor.py +0 -388
- numpy-1.9.3/tools/swig/test/testTensor.py +0 -402
- numpy-1.9.3/tools/swig/test/testVector.py +0 -381
- {numpy-1.9.3 → numpy-1.10.0.post2}/BENTO_BUILD.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/COMPATIBILITY +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/DEV_README.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/README.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/THANKS.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/Makefile +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/BUGS.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/FAQ.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/HISTORY.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/Makefile +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/OLDNEWS.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/README.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/Release-1.x.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/Release-2.x.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/Release-3.x.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/Release-4.x.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/TESTING.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/THANKS.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/TODO.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/apps.tex +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/bugs.tex +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/collectinput.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/commands.tex +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/default.css +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/docutils.conf +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/arr.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/bar.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/foo.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/foobar-smart.f90 +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/foobar.f90 +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/foobarmodule.tex +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/runme +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2py.1 +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2py2e.tex +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/README.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/aerostructure.jpg +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/flow.jpg +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/mk_html.sh +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/mk_pdf.sh +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/mk_ps.sh +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/exp1.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/exp1mess.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/exp1session.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/foo.pyf +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/foom.pyf +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/structure.jpg +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/fortranobject.tex +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/hello.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/index.html +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/intro.tex +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/array_from_pyobj.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/bar.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/foo.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/fortran_array_from_pyobj.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/fun.pyf +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/run.pyf +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/transpose.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarrays.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/notes.tex +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/oldnews.html +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/options.tex +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/pyforttest.pyf +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/pytest.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/python9.tex +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/signaturefile.tex +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/simple.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/simple_session.dat +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/using_F_compiler.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/win32_notes.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/postprocess.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.3.0-notes.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.4.0-notes.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.5.0-notes.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.6.0-notes.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.6.1-notes.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.6.2-notes.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.7.0-notes.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.7.1-notes.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.7.2-notes.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.8.0-notes.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.8.1-notes.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.8.2-notes.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.9.0-notes.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.9.1-notes.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.9.2-notes.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/time_based_proposal.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/.git +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/.gitignore +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/Makefile +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/README.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_static/scipyshiny_small.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/layout.html +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/searchbox.html +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/sourcelink.html +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/extend.css +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/pygments.css +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/scipy-central.css +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/spc-bootstrap.css +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/spc-extend.css +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/all-icons.svg +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/contents.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/create-new-account-icon.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-icon-shrunk.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-icon.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-icon.svg +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-list-icon-tiniest.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-list-icon-tiny.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-list-icon.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ad.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ae.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-af.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ag.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ai.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-al.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-am.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ao.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-aq.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ar.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-as.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-at.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-au.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-aw.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-az.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ba.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bb.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bd.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-be.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bf.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bg.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bh.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bi.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bj.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bl.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bm.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bn.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bo.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-br.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bs.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bt.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bw.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-by.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bz.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ca.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cc.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cd.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cf.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cg.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ch.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ci.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ck.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cl.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cm.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cn.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-co.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cr.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cu.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cv.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cw.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cx.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cy.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cz.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-de.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dj.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dk.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dm.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-do.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dz.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ec.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ee.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-eg.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-er.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-es.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-et.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fi.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fj.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fk.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fm.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fo.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fr.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ga.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gb.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gd.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ge.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gf.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gg.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gh.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gi.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gl.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gm.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gn.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gq.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gr.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gs.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gt.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gu.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gw.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gy.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hk.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hm.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hn.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hr.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ht.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hu.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-id.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ie.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-il.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-im.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-in.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-io.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-iq.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ir.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-is.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-it.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-je.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-jm.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-jo.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-jp.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ke.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kg.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kh.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ki.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-km.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kn.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kp.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kr.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kw.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ky.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kz.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-la.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lb.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lc.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-li.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lk.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lr.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ls.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lt.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lu.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lv.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ly.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ma.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mc.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-md.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-me.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mf.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mg.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mh.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mk.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ml.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mm.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mn.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mo.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mp.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mq.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mr.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ms.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mt.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mu.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mv.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mw.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mx.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-my.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mz.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-na.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nc.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ne.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nf.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ng.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ni.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nl.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-no.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-np.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nr.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nu.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nz.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-om.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pa.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pe.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pf.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pg.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ph.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pk.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pl.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pm.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pn.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pr.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ps.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pt.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pw.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-py.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-qa.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-re.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ro.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-rs.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ru.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-rw.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sa.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sb.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sc.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sd.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-se.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sg.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sh.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-si.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sj.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sk.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sl.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sm.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sn.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-so.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sr.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-st.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sv.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sy.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sz.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tc.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-td.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tf.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tg.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-th.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tj.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tk.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tl.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tm.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tn.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-to.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tr.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tt.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tv.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tw.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tz.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ua.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ug.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-um.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-us.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-uy.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-uz.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-va.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vc.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ve.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vg.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vi.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vn.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vu.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-wf.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ws.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ye.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-za.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-zm.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-zw.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/glyphicons-halflings-white.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/glyphicons-halflings.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/important-icon.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/information-icon.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/internet-web-browser.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-icon-shrunk.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-icon.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-icon.svg +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-list-icon-tiny.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-list-icon.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/navigation.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/person-list-icon-tiny.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/person-list-icon.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipy-logo.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipy_org_logo.gif +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipycentral_logo.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipyshiny_small.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/send-email-icon.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-icon-shrunk.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-icon.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-icon.svg +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-list-icon-tiniest.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-list-icon-tiny.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-list-icon.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/transparent-pixel.gif +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/ui-anim_basic_16x16.gif +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/js/copybutton.js +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/accordion.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/alerts.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/bootstrap.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/breadcrumbs.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/button-groups.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/buttons.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/carousel.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/close.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/code.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/component-animations.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/dropdowns.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/forms.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/grid.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/hero-unit.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/labels-badges.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/layouts.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/media.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/mixins.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/modals.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/navbar.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/navs.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/pager.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/pagination.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/popovers.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/progress-bars.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/reset.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-1200px-min.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-767px-max.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-768px-979px.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-navbar.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-utilities.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/scaffolding.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/sprites.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/tables.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/thumbnails.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/tooltip.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/type.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/utilities.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/variables.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/wells.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-bootstrap.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-content.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-extend.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-footer.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-header.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-rightsidebar.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-utils.less +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/scipy.css_t +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/theme.conf +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/conf.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/index.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc_2.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc_3.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc_4.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_optimize.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/_templates/autosummary/class.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/_templates/indexcontent.html +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/_templates/indexsidebar.html +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/_templates/layout.html +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/about.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/bugs.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/contents.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/configure_git.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/development_setup.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/dot2_dot3.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/following_latest.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/forking_button.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/git_development.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/git_intro.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/git_resources.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/pull_button.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash_links.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/advanced.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/allocarr.f90 +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/allocarr_session.dat +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/array.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/array_session.dat +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/calculate.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/calculate_session.dat +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/callback.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/callback2.pyf +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/callback_session.dat +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/common.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/common_session.dat +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/compile_session.dat +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/distutils.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/extcallback.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/extcallback_session.dat +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/fib1.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/fib1.pyf +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/fib2.pyf +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/fib3.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/ftype.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/ftype_session.dat +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/getting-started.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/index.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/moddata.f90 +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/moddata_session.dat +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/python-usage.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/run_main_session.dat +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/scalar.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/scalar_session.dat +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/setup_example.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/signature-file.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/spam.pyf +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/spam_session.dat +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/string.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/string_session.dat +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/usage.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/var.pyf +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/var_session.dat +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/glossary.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/license.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/datetime-proposal.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/datetime-proposal3.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/deferred-ufunc-evaluation.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/generalized-ufuncs.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/groupby_additions.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/index.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/math_config_clean.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/missing-data.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/new-iterator-ufunc.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/newbugtracker.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/npy-format.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/structured_array_extensions.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/ufunc-overrides.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/warnfix.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/arrays.datetime.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/arrays.nditer.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/arrays.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/c-api.deprecations.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/c-api.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/distutils.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/dtype-hierarchy.dia +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/dtype-hierarchy.pdf +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/dtype-hierarchy.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/threefundamental.fig +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/threefundamental.pdf +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/threefundamental.png +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/internals.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/maskedarray.baseclass.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/maskedarray.generic.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/maskedarray.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.array-creation.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.bitwise.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.char.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.ctypeslib.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.datetime.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.dtype.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.dual.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.emath.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.err.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.fft.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.financial.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.functional.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.help.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.indexing.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.logic.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.math.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.matlib.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.numarray.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.oldnumeric.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.other.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.padding.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.chebyshev.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.classes.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.hermite.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.hermite_e.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.laguerre.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.legendre.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.package.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.poly1d.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.polynomial.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.random.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.set.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.testing.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.window.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/swig.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.broadcasting.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.byteswapping.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.creation.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.indexing.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.io.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.subclassing.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.types.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/c-info.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/howtofind.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/index.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/introduction.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/misc.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/performance.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/whatisnumpy.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/.git +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/.gitignore +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/.travis.yml +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/LICENSE.txt +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/MANIFEST.in +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/README.rst +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/__init__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/comment_eater.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/compiler_unparse.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/docscrape.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/docscrape_sphinx.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/linkcode.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/numpydoc.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/phantom_import.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/plot_directive.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_docscrape.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_linkcode.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_phantom_import.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_plot_directive.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_traitsdoc.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/traitsdoc.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/setup.py +0 -0
- {numpy-1.9.3/numpy/core/code_generators → numpy-1.10.0.post2/numpy/_build_utils}/__init__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/compat/__init__.py +0 -0
- {numpy-1.9.3/numpy/distutils/tests/f2py_ext → numpy-1.10.0.post2/numpy/core/code_generators}/__init__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/code_generators/genapi.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/code_generators/generate_numpy_api.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/cversions.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/_neighborhood_iterator_imp.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/_numpyconfig.h.in +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/arrayobject.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/arrayscalars.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/halffloat.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/noprefix.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_1_7_deprecated_api.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_interrupt.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_no_deprecated_api.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_os.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/old_defines.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/oldnumeric.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/ufuncobject.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/utils.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/info.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/mlib.ini.in +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/npymath.ini.in +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/dummymodule.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/_datetime.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/alloc.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign_array.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign_scalar.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/arrayobject.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/buffer.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/calculation.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/conversion_utils.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/convert.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/convert_datatype.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/ctors.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/datetime_busday.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/datetime_busdaycal.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/datetime_strings.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/descriptor.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/flagsobject.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/getset.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/hashdescr.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/item_selection.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/iterators.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/methods.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/nditer_impl.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/nditer_pywrap.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/nditer_templ.c.src +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/numpymemoryview.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/numpyos.h +0 -0
- {numpy-1.9.3/numpy/core/blasdot → numpy-1.10.0.post2/numpy/core/src/multiarray}/python_xerbla.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/refcount.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/refcount.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/sequence.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/sequence.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/shape.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/ucsnarrow.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/usertypes.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/usertypes.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/npymath/_signbit.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/npymath/halffloat.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/npymath/npy_math_common.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/npysort/binsearch.c.src +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/private/lowlevel_strided_loops.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/private/npy_binsearch.h.src +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/private/npy_fpmath.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/private/npy_pycompat.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/umath/reduction.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/umath/reduction.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/umath/struct_ufunc_test.c.src +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/umath/ufunc_object.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/umath/ufunc_type_resolution.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/tests/data/astype_copy.pkl +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/tests/data/recarray_from_file.fits +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/tests/test_scalarprint.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/ctypeslib.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/__version__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/__init__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/bdist_rpm.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/build_py.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/build_scripts.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/build_src.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/config_compiler.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/develop.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/egg_info.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/install.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/install_clib.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/install_data.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/install_headers.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/sdist.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/compat.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/conv_template.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/core.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/cpuinfo.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/environment.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/extension.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/__init__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/absoft.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/g95.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/hpux.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/ibm.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/lahey.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/mips.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/nag.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/none.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/pathf95.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/vast.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/from_template.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/info.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/line_endings.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/log.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/mingw/gfortran_vs2003_hack.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/numpy_distribution.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/pathccompiler.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/setup.py +0 -0
- {numpy-1.9.3/numpy/distutils/tests/f2py_f90_ext → numpy-1.10.0.post2/numpy/distutils/tests/f2py_ext}/__init__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_ext/setup.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_ext/src/fib1.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_ext/src/fib2.pyf +0 -0
- {numpy-1.9.3/numpy/distutils/tests/gen_ext → numpy-1.10.0.post2/numpy/distutils/tests/f2py_f90_ext}/__init__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_f90_ext/include/body.f90 +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_f90_ext/setup.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_f90_ext/src/foo_free.f90 +0 -0
- {numpy-1.9.3/numpy/distutils/tests/pyrex_ext → numpy-1.10.0.post2/numpy/distutils/tests/gen_ext}/__init__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/gen_ext/setup.py +0 -0
- {numpy-1.9.3/numpy/distutils/tests/swig_ext → numpy-1.10.0.post2/numpy/distutils/tests/pyrex_ext}/__init__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/pyrex_ext/primes.pyx +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/pyrex_ext/setup.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/setup.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/setup.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/example.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/example.i +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/zoo.cc +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/zoo.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/zoo.i +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/test_exec_command.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/__init__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/basics.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/broadcasting.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/constants.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/howtofind.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/internals.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/io.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/jargon.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/methods_vs_functions.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/misc.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/performance.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/subclassing.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/ufuncs.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/dual.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/__version__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/info.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/.f2py_f2cmap +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/foo_free.f90 +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/foo_mod.f90 +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/foo_use.f90 +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/precision.f90 +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/kind/foo.f90 +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/mixed/foo.f +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/mixed/foo_fixed.f90 +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/mixed/foo_free.f90 +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/regression/inout.f90 +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/size/foo.f90 +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/fft/__init__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/fft/helper.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/__init__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/_datasource.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/_version.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/scimath.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/data/python3.npy +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/data/win64python2.npy +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/test__datasource.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/test_arrayterator.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/test_regression.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/test_ufunclike.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/test_utils.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/ufunclike.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/user_array.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/__init__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/info.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/blas_lite.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/dlamch.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/dlapack_lite.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/f2c.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/f2c_lite.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/zlapack_lite.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/setup.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/tests/test_deprecations.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/ma/version.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/matrixlib/__init__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/matrixlib/setup.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/__init__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/polynomial.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/setup.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_chebyshev.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_classes.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_hermite.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_hermite_e.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_laguerre.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_legendre.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_polynomial.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_polyutils.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_printing.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/__init__.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/info.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/Python.pxi +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/distributions.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/generate_mtrand_c.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/initarray.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/initarray.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/mtrand_py_helper.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/numpy.pxd +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/randomkit.c +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/randomkit.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/testing/tests/test_doctesting.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/setupegg.py +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/Makefile +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/pyfragments.swg +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Array1.cxx +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Array1.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Array2.cxx +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Array2.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Farray.cxx +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Farray.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Farray.i +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Fortran.cxx +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Fortran.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Fortran.i +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Matrix.cxx +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Matrix.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Matrix.i +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/SuperTensor.cxx +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/SuperTensor.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/SuperTensor.i +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Tensor.cxx +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Tensor.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Tensor.i +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Vector.cxx +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Vector.h +0 -0
- {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Vector.i +0 -0
|
@@ -0,0 +1,1916 @@
|
|
|
1
|
+
from __future__ import division, absolute_import, print_function
|
|
2
|
+
|
|
3
|
+
import sys
|
|
4
|
+
import gzip
|
|
5
|
+
import os
|
|
6
|
+
import threading
|
|
7
|
+
from tempfile import mkstemp, NamedTemporaryFile
|
|
8
|
+
import time
|
|
9
|
+
import warnings
|
|
10
|
+
import gc
|
|
11
|
+
from io import BytesIO
|
|
12
|
+
from datetime import datetime
|
|
13
|
+
|
|
14
|
+
import numpy as np
|
|
15
|
+
import numpy.ma as ma
|
|
16
|
+
from numpy.lib._iotools import ConverterError, ConversionWarning
|
|
17
|
+
from numpy.compat import asbytes, bytes, unicode
|
|
18
|
+
from numpy.ma.testutils import assert_equal
|
|
19
|
+
from numpy.testing import (
|
|
20
|
+
TestCase, run_module_suite, assert_warns, assert_,
|
|
21
|
+
assert_raises_regex, assert_raises, assert_allclose,
|
|
22
|
+
assert_array_equal,
|
|
23
|
+
)
|
|
24
|
+
from numpy.testing.utils import tempdir
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class TextIO(BytesIO):
|
|
28
|
+
"""Helper IO class.
|
|
29
|
+
|
|
30
|
+
Writes encode strings to bytes if needed, reads return bytes.
|
|
31
|
+
This makes it easier to emulate files opened in binary mode
|
|
32
|
+
without needing to explicitly convert strings to bytes in
|
|
33
|
+
setting up the test data.
|
|
34
|
+
|
|
35
|
+
"""
|
|
36
|
+
def __init__(self, s=""):
|
|
37
|
+
BytesIO.__init__(self, asbytes(s))
|
|
38
|
+
|
|
39
|
+
def write(self, s):
|
|
40
|
+
BytesIO.write(self, asbytes(s))
|
|
41
|
+
|
|
42
|
+
def writelines(self, lines):
|
|
43
|
+
BytesIO.writelines(self, [asbytes(s) for s in lines])
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
MAJVER, MINVER = sys.version_info[:2]
|
|
47
|
+
IS_64BIT = sys.maxsize > 2**32
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def strptime(s, fmt=None):
|
|
51
|
+
"""
|
|
52
|
+
This function is available in the datetime module only from Python >=
|
|
53
|
+
2.5.
|
|
54
|
+
|
|
55
|
+
"""
|
|
56
|
+
if sys.version_info[0] >= 3:
|
|
57
|
+
return datetime(*time.strptime(s.decode('latin1'), fmt)[:3])
|
|
58
|
+
else:
|
|
59
|
+
return datetime(*time.strptime(s, fmt)[:3])
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class RoundtripTest(object):
|
|
63
|
+
def roundtrip(self, save_func, *args, **kwargs):
|
|
64
|
+
"""
|
|
65
|
+
save_func : callable
|
|
66
|
+
Function used to save arrays to file.
|
|
67
|
+
file_on_disk : bool
|
|
68
|
+
If true, store the file on disk, instead of in a
|
|
69
|
+
string buffer.
|
|
70
|
+
save_kwds : dict
|
|
71
|
+
Parameters passed to `save_func`.
|
|
72
|
+
load_kwds : dict
|
|
73
|
+
Parameters passed to `numpy.load`.
|
|
74
|
+
args : tuple of arrays
|
|
75
|
+
Arrays stored to file.
|
|
76
|
+
|
|
77
|
+
"""
|
|
78
|
+
save_kwds = kwargs.get('save_kwds', {})
|
|
79
|
+
load_kwds = kwargs.get('load_kwds', {})
|
|
80
|
+
file_on_disk = kwargs.get('file_on_disk', False)
|
|
81
|
+
|
|
82
|
+
if file_on_disk:
|
|
83
|
+
target_file = NamedTemporaryFile(delete=False)
|
|
84
|
+
load_file = target_file.name
|
|
85
|
+
else:
|
|
86
|
+
target_file = BytesIO()
|
|
87
|
+
load_file = target_file
|
|
88
|
+
|
|
89
|
+
try:
|
|
90
|
+
arr = args
|
|
91
|
+
|
|
92
|
+
save_func(target_file, *arr, **save_kwds)
|
|
93
|
+
target_file.flush()
|
|
94
|
+
target_file.seek(0)
|
|
95
|
+
|
|
96
|
+
if sys.platform == 'win32' and not isinstance(target_file, BytesIO):
|
|
97
|
+
target_file.close()
|
|
98
|
+
|
|
99
|
+
arr_reloaded = np.load(load_file, **load_kwds)
|
|
100
|
+
|
|
101
|
+
self.arr = arr
|
|
102
|
+
self.arr_reloaded = arr_reloaded
|
|
103
|
+
finally:
|
|
104
|
+
if not isinstance(target_file, BytesIO):
|
|
105
|
+
target_file.close()
|
|
106
|
+
# holds an open file descriptor so it can't be deleted on win
|
|
107
|
+
if not isinstance(arr_reloaded, np.lib.npyio.NpzFile):
|
|
108
|
+
os.remove(target_file.name)
|
|
109
|
+
|
|
110
|
+
def check_roundtrips(self, a):
|
|
111
|
+
self.roundtrip(a)
|
|
112
|
+
self.roundtrip(a, file_on_disk=True)
|
|
113
|
+
self.roundtrip(np.asfortranarray(a))
|
|
114
|
+
self.roundtrip(np.asfortranarray(a), file_on_disk=True)
|
|
115
|
+
if a.shape[0] > 1:
|
|
116
|
+
# neither C nor Fortran contiguous for 2D arrays or more
|
|
117
|
+
self.roundtrip(np.asfortranarray(a)[1:])
|
|
118
|
+
self.roundtrip(np.asfortranarray(a)[1:], file_on_disk=True)
|
|
119
|
+
|
|
120
|
+
def test_array(self):
|
|
121
|
+
a = np.array([], float)
|
|
122
|
+
self.check_roundtrips(a)
|
|
123
|
+
|
|
124
|
+
a = np.array([[1, 2], [3, 4]], float)
|
|
125
|
+
self.check_roundtrips(a)
|
|
126
|
+
|
|
127
|
+
a = np.array([[1, 2], [3, 4]], int)
|
|
128
|
+
self.check_roundtrips(a)
|
|
129
|
+
|
|
130
|
+
a = np.array([[1 + 5j, 2 + 6j], [3 + 7j, 4 + 8j]], dtype=np.csingle)
|
|
131
|
+
self.check_roundtrips(a)
|
|
132
|
+
|
|
133
|
+
a = np.array([[1 + 5j, 2 + 6j], [3 + 7j, 4 + 8j]], dtype=np.cdouble)
|
|
134
|
+
self.check_roundtrips(a)
|
|
135
|
+
|
|
136
|
+
def test_array_object(self):
|
|
137
|
+
if sys.version_info[:2] >= (2, 7):
|
|
138
|
+
a = np.array([], object)
|
|
139
|
+
self.check_roundtrips(a)
|
|
140
|
+
|
|
141
|
+
a = np.array([[1, 2], [3, 4]], object)
|
|
142
|
+
self.check_roundtrips(a)
|
|
143
|
+
# Fails with UnpicklingError: could not find MARK on Python 2.6
|
|
144
|
+
|
|
145
|
+
def test_1D(self):
|
|
146
|
+
a = np.array([1, 2, 3, 4], int)
|
|
147
|
+
self.roundtrip(a)
|
|
148
|
+
|
|
149
|
+
@np.testing.dec.knownfailureif(sys.platform == 'win32', "Fail on Win32")
|
|
150
|
+
def test_mmap(self):
|
|
151
|
+
a = np.array([[1, 2.5], [4, 7.3]])
|
|
152
|
+
self.roundtrip(a, file_on_disk=True, load_kwds={'mmap_mode': 'r'})
|
|
153
|
+
|
|
154
|
+
a = np.asfortranarray([[1, 2.5], [4, 7.3]])
|
|
155
|
+
self.roundtrip(a, file_on_disk=True, load_kwds={'mmap_mode': 'r'})
|
|
156
|
+
|
|
157
|
+
def test_record(self):
|
|
158
|
+
a = np.array([(1, 2), (3, 4)], dtype=[('x', 'i4'), ('y', 'i4')])
|
|
159
|
+
self.check_roundtrips(a)
|
|
160
|
+
|
|
161
|
+
def test_format_2_0(self):
|
|
162
|
+
dt = [(("%d" % i) * 100, float) for i in range(500)]
|
|
163
|
+
a = np.ones(1000, dtype=dt)
|
|
164
|
+
with warnings.catch_warnings(record=True):
|
|
165
|
+
warnings.filterwarnings('always', '', UserWarning)
|
|
166
|
+
self.check_roundtrips(a)
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
class TestSaveLoad(RoundtripTest, TestCase):
|
|
170
|
+
def roundtrip(self, *args, **kwargs):
|
|
171
|
+
RoundtripTest.roundtrip(self, np.save, *args, **kwargs)
|
|
172
|
+
assert_equal(self.arr[0], self.arr_reloaded)
|
|
173
|
+
assert_equal(self.arr[0].dtype, self.arr_reloaded.dtype)
|
|
174
|
+
assert_equal(self.arr[0].flags.fnc, self.arr_reloaded.flags.fnc)
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
class TestSavezLoad(RoundtripTest, TestCase):
|
|
178
|
+
def roundtrip(self, *args, **kwargs):
|
|
179
|
+
RoundtripTest.roundtrip(self, np.savez, *args, **kwargs)
|
|
180
|
+
try:
|
|
181
|
+
for n, arr in enumerate(self.arr):
|
|
182
|
+
reloaded = self.arr_reloaded['arr_%d' % n]
|
|
183
|
+
assert_equal(arr, reloaded)
|
|
184
|
+
assert_equal(arr.dtype, reloaded.dtype)
|
|
185
|
+
assert_equal(arr.flags.fnc, reloaded.flags.fnc)
|
|
186
|
+
finally:
|
|
187
|
+
# delete tempfile, must be done here on windows
|
|
188
|
+
if self.arr_reloaded.fid:
|
|
189
|
+
self.arr_reloaded.fid.close()
|
|
190
|
+
os.remove(self.arr_reloaded.fid.name)
|
|
191
|
+
|
|
192
|
+
@np.testing.dec.skipif(not IS_64BIT, "Works only with 64bit systems")
|
|
193
|
+
@np.testing.dec.slow
|
|
194
|
+
def test_big_arrays(self):
|
|
195
|
+
L = (1 << 31) + 100000
|
|
196
|
+
a = np.empty(L, dtype=np.uint8)
|
|
197
|
+
with tempdir(prefix="numpy_test_big_arrays_") as tmpdir:
|
|
198
|
+
tmp = os.path.join(tmpdir, "file.npz")
|
|
199
|
+
np.savez(tmp, a=a)
|
|
200
|
+
del a
|
|
201
|
+
npfile = np.load(tmp)
|
|
202
|
+
a = npfile['a'] # Should succeed
|
|
203
|
+
npfile.close()
|
|
204
|
+
del a # Avoid pyflakes unused variable warning.
|
|
205
|
+
|
|
206
|
+
def test_multiple_arrays(self):
|
|
207
|
+
a = np.array([[1, 2], [3, 4]], float)
|
|
208
|
+
b = np.array([[1 + 2j, 2 + 7j], [3 - 6j, 4 + 12j]], complex)
|
|
209
|
+
self.roundtrip(a, b)
|
|
210
|
+
|
|
211
|
+
def test_named_arrays(self):
|
|
212
|
+
a = np.array([[1, 2], [3, 4]], float)
|
|
213
|
+
b = np.array([[1 + 2j, 2 + 7j], [3 - 6j, 4 + 12j]], complex)
|
|
214
|
+
c = BytesIO()
|
|
215
|
+
np.savez(c, file_a=a, file_b=b)
|
|
216
|
+
c.seek(0)
|
|
217
|
+
l = np.load(c)
|
|
218
|
+
assert_equal(a, l['file_a'])
|
|
219
|
+
assert_equal(b, l['file_b'])
|
|
220
|
+
|
|
221
|
+
def test_BagObj(self):
|
|
222
|
+
a = np.array([[1, 2], [3, 4]], float)
|
|
223
|
+
b = np.array([[1 + 2j, 2 + 7j], [3 - 6j, 4 + 12j]], complex)
|
|
224
|
+
c = BytesIO()
|
|
225
|
+
np.savez(c, file_a=a, file_b=b)
|
|
226
|
+
c.seek(0)
|
|
227
|
+
l = np.load(c)
|
|
228
|
+
assert_equal(sorted(dir(l.f)), ['file_a','file_b'])
|
|
229
|
+
assert_equal(a, l.f.file_a)
|
|
230
|
+
assert_equal(b, l.f.file_b)
|
|
231
|
+
|
|
232
|
+
def test_savez_filename_clashes(self):
|
|
233
|
+
# Test that issue #852 is fixed
|
|
234
|
+
# and savez functions in multithreaded environment
|
|
235
|
+
|
|
236
|
+
def writer(error_list):
|
|
237
|
+
fd, tmp = mkstemp(suffix='.npz')
|
|
238
|
+
os.close(fd)
|
|
239
|
+
try:
|
|
240
|
+
arr = np.random.randn(500, 500)
|
|
241
|
+
try:
|
|
242
|
+
np.savez(tmp, arr=arr)
|
|
243
|
+
except OSError as err:
|
|
244
|
+
error_list.append(err)
|
|
245
|
+
finally:
|
|
246
|
+
os.remove(tmp)
|
|
247
|
+
|
|
248
|
+
errors = []
|
|
249
|
+
threads = [threading.Thread(target=writer, args=(errors,))
|
|
250
|
+
for j in range(3)]
|
|
251
|
+
for t in threads:
|
|
252
|
+
t.start()
|
|
253
|
+
for t in threads:
|
|
254
|
+
t.join()
|
|
255
|
+
|
|
256
|
+
if errors:
|
|
257
|
+
raise AssertionError(errors)
|
|
258
|
+
|
|
259
|
+
def test_not_closing_opened_fid(self):
|
|
260
|
+
# Test that issue #2178 is fixed:
|
|
261
|
+
# verify could seek on 'loaded' file
|
|
262
|
+
|
|
263
|
+
fd, tmp = mkstemp(suffix='.npz')
|
|
264
|
+
os.close(fd)
|
|
265
|
+
try:
|
|
266
|
+
fp = open(tmp, 'wb')
|
|
267
|
+
np.savez(fp, data='LOVELY LOAD')
|
|
268
|
+
fp.close()
|
|
269
|
+
|
|
270
|
+
fp = open(tmp, 'rb', 10000)
|
|
271
|
+
fp.seek(0)
|
|
272
|
+
assert_(not fp.closed)
|
|
273
|
+
np.load(fp)['data']
|
|
274
|
+
# fp must not get closed by .load
|
|
275
|
+
assert_(not fp.closed)
|
|
276
|
+
fp.seek(0)
|
|
277
|
+
assert_(not fp.closed)
|
|
278
|
+
|
|
279
|
+
finally:
|
|
280
|
+
fp.close()
|
|
281
|
+
os.remove(tmp)
|
|
282
|
+
|
|
283
|
+
def test_closing_fid(self):
|
|
284
|
+
# Test that issue #1517 (too many opened files) remains closed
|
|
285
|
+
# It might be a "weak" test since failed to get triggered on
|
|
286
|
+
# e.g. Debian sid of 2012 Jul 05 but was reported to
|
|
287
|
+
# trigger the failure on Ubuntu 10.04:
|
|
288
|
+
# http://projects.scipy.org/numpy/ticket/1517#comment:2
|
|
289
|
+
fd, tmp = mkstemp(suffix='.npz')
|
|
290
|
+
os.close(fd)
|
|
291
|
+
|
|
292
|
+
try:
|
|
293
|
+
fp = open(tmp, 'wb')
|
|
294
|
+
np.savez(fp, data='LOVELY LOAD')
|
|
295
|
+
fp.close()
|
|
296
|
+
# We need to check if the garbage collector can properly close
|
|
297
|
+
# numpy npz file returned by np.load when their reference count
|
|
298
|
+
# goes to zero. Python 3 running in debug mode raises a
|
|
299
|
+
# ResourceWarning when file closing is left to the garbage
|
|
300
|
+
# collector, so we catch the warnings. Because ResourceWarning
|
|
301
|
+
# is unknown in Python < 3.x, we take the easy way out and
|
|
302
|
+
# catch all warnings.
|
|
303
|
+
with warnings.catch_warnings():
|
|
304
|
+
warnings.simplefilter("ignore")
|
|
305
|
+
for i in range(1, 1025):
|
|
306
|
+
try:
|
|
307
|
+
np.load(tmp)["data"]
|
|
308
|
+
except Exception as e:
|
|
309
|
+
msg = "Failed to load data from a file: %s" % e
|
|
310
|
+
raise AssertionError(msg)
|
|
311
|
+
finally:
|
|
312
|
+
os.remove(tmp)
|
|
313
|
+
|
|
314
|
+
def test_closing_zipfile_after_load(self):
|
|
315
|
+
# Check that zipfile owns file and can close it.
|
|
316
|
+
# This needs to pass a file name to load for the
|
|
317
|
+
# test.
|
|
318
|
+
with tempdir(prefix="numpy_test_closing_zipfile_after_load_") as tmpdir:
|
|
319
|
+
fd, tmp = mkstemp(suffix='.npz', dir=tmpdir)
|
|
320
|
+
os.close(fd)
|
|
321
|
+
np.savez(tmp, lab='place holder')
|
|
322
|
+
data = np.load(tmp)
|
|
323
|
+
fp = data.zip.fp
|
|
324
|
+
data.close()
|
|
325
|
+
assert_(fp.closed)
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
class TestSaveTxt(TestCase):
|
|
329
|
+
def test_array(self):
|
|
330
|
+
a = np.array([[1, 2], [3, 4]], float)
|
|
331
|
+
fmt = "%.18e"
|
|
332
|
+
c = BytesIO()
|
|
333
|
+
np.savetxt(c, a, fmt=fmt)
|
|
334
|
+
c.seek(0)
|
|
335
|
+
assert_equal(c.readlines(),
|
|
336
|
+
[asbytes((fmt + ' ' + fmt + '\n') % (1, 2)),
|
|
337
|
+
asbytes((fmt + ' ' + fmt + '\n') % (3, 4))])
|
|
338
|
+
|
|
339
|
+
a = np.array([[1, 2], [3, 4]], int)
|
|
340
|
+
c = BytesIO()
|
|
341
|
+
np.savetxt(c, a, fmt='%d')
|
|
342
|
+
c.seek(0)
|
|
343
|
+
assert_equal(c.readlines(), [b'1 2\n', b'3 4\n'])
|
|
344
|
+
|
|
345
|
+
def test_1D(self):
|
|
346
|
+
a = np.array([1, 2, 3, 4], int)
|
|
347
|
+
c = BytesIO()
|
|
348
|
+
np.savetxt(c, a, fmt='%d')
|
|
349
|
+
c.seek(0)
|
|
350
|
+
lines = c.readlines()
|
|
351
|
+
assert_equal(lines, [b'1\n', b'2\n', b'3\n', b'4\n'])
|
|
352
|
+
|
|
353
|
+
def test_record(self):
|
|
354
|
+
a = np.array([(1, 2), (3, 4)], dtype=[('x', 'i4'), ('y', 'i4')])
|
|
355
|
+
c = BytesIO()
|
|
356
|
+
np.savetxt(c, a, fmt='%d')
|
|
357
|
+
c.seek(0)
|
|
358
|
+
assert_equal(c.readlines(), [b'1 2\n', b'3 4\n'])
|
|
359
|
+
|
|
360
|
+
def test_delimiter(self):
|
|
361
|
+
a = np.array([[1., 2.], [3., 4.]])
|
|
362
|
+
c = BytesIO()
|
|
363
|
+
np.savetxt(c, a, delimiter=',', fmt='%d')
|
|
364
|
+
c.seek(0)
|
|
365
|
+
assert_equal(c.readlines(), [b'1,2\n', b'3,4\n'])
|
|
366
|
+
|
|
367
|
+
def test_format(self):
|
|
368
|
+
a = np.array([(1, 2), (3, 4)])
|
|
369
|
+
c = BytesIO()
|
|
370
|
+
# Sequence of formats
|
|
371
|
+
np.savetxt(c, a, fmt=['%02d', '%3.1f'])
|
|
372
|
+
c.seek(0)
|
|
373
|
+
assert_equal(c.readlines(), [b'01 2.0\n', b'03 4.0\n'])
|
|
374
|
+
|
|
375
|
+
# A single multiformat string
|
|
376
|
+
c = BytesIO()
|
|
377
|
+
np.savetxt(c, a, fmt='%02d : %3.1f')
|
|
378
|
+
c.seek(0)
|
|
379
|
+
lines = c.readlines()
|
|
380
|
+
assert_equal(lines, [b'01 : 2.0\n', b'03 : 4.0\n'])
|
|
381
|
+
|
|
382
|
+
# Specify delimiter, should be overiden
|
|
383
|
+
c = BytesIO()
|
|
384
|
+
np.savetxt(c, a, fmt='%02d : %3.1f', delimiter=',')
|
|
385
|
+
c.seek(0)
|
|
386
|
+
lines = c.readlines()
|
|
387
|
+
assert_equal(lines, [b'01 : 2.0\n', b'03 : 4.0\n'])
|
|
388
|
+
|
|
389
|
+
# Bad fmt, should raise a ValueError
|
|
390
|
+
c = BytesIO()
|
|
391
|
+
assert_raises(ValueError, np.savetxt, c, a, fmt=99)
|
|
392
|
+
|
|
393
|
+
def test_header_footer(self):
|
|
394
|
+
# Test the functionality of the header and footer keyword argument.
|
|
395
|
+
|
|
396
|
+
c = BytesIO()
|
|
397
|
+
a = np.array([(1, 2), (3, 4)], dtype=np.int)
|
|
398
|
+
test_header_footer = 'Test header / footer'
|
|
399
|
+
# Test the header keyword argument
|
|
400
|
+
np.savetxt(c, a, fmt='%1d', header=test_header_footer)
|
|
401
|
+
c.seek(0)
|
|
402
|
+
assert_equal(c.read(),
|
|
403
|
+
asbytes('# ' + test_header_footer + '\n1 2\n3 4\n'))
|
|
404
|
+
# Test the footer keyword argument
|
|
405
|
+
c = BytesIO()
|
|
406
|
+
np.savetxt(c, a, fmt='%1d', footer=test_header_footer)
|
|
407
|
+
c.seek(0)
|
|
408
|
+
assert_equal(c.read(),
|
|
409
|
+
asbytes('1 2\n3 4\n# ' + test_header_footer + '\n'))
|
|
410
|
+
# Test the commentstr keyword argument used on the header
|
|
411
|
+
c = BytesIO()
|
|
412
|
+
commentstr = '% '
|
|
413
|
+
np.savetxt(c, a, fmt='%1d',
|
|
414
|
+
header=test_header_footer, comments=commentstr)
|
|
415
|
+
c.seek(0)
|
|
416
|
+
assert_equal(c.read(),
|
|
417
|
+
asbytes(commentstr + test_header_footer + '\n' + '1 2\n3 4\n'))
|
|
418
|
+
# Test the commentstr keyword argument used on the footer
|
|
419
|
+
c = BytesIO()
|
|
420
|
+
commentstr = '% '
|
|
421
|
+
np.savetxt(c, a, fmt='%1d',
|
|
422
|
+
footer=test_header_footer, comments=commentstr)
|
|
423
|
+
c.seek(0)
|
|
424
|
+
assert_equal(c.read(),
|
|
425
|
+
asbytes('1 2\n3 4\n' + commentstr + test_header_footer + '\n'))
|
|
426
|
+
|
|
427
|
+
def test_file_roundtrip(self):
|
|
428
|
+
f, name = mkstemp()
|
|
429
|
+
os.close(f)
|
|
430
|
+
try:
|
|
431
|
+
a = np.array([(1, 2), (3, 4)])
|
|
432
|
+
np.savetxt(name, a)
|
|
433
|
+
b = np.loadtxt(name)
|
|
434
|
+
assert_array_equal(a, b)
|
|
435
|
+
finally:
|
|
436
|
+
os.unlink(name)
|
|
437
|
+
|
|
438
|
+
def test_complex_arrays(self):
|
|
439
|
+
ncols = 2
|
|
440
|
+
nrows = 2
|
|
441
|
+
a = np.zeros((ncols, nrows), dtype=np.complex128)
|
|
442
|
+
re = np.pi
|
|
443
|
+
im = np.e
|
|
444
|
+
a[:] = re + 1.0j * im
|
|
445
|
+
|
|
446
|
+
# One format only
|
|
447
|
+
c = BytesIO()
|
|
448
|
+
np.savetxt(c, a, fmt=' %+.3e')
|
|
449
|
+
c.seek(0)
|
|
450
|
+
lines = c.readlines()
|
|
451
|
+
assert_equal(
|
|
452
|
+
lines,
|
|
453
|
+
[b' ( +3.142e+00+ +2.718e+00j) ( +3.142e+00+ +2.718e+00j)\n',
|
|
454
|
+
b' ( +3.142e+00+ +2.718e+00j) ( +3.142e+00+ +2.718e+00j)\n'])
|
|
455
|
+
|
|
456
|
+
# One format for each real and imaginary part
|
|
457
|
+
c = BytesIO()
|
|
458
|
+
np.savetxt(c, a, fmt=' %+.3e' * 2 * ncols)
|
|
459
|
+
c.seek(0)
|
|
460
|
+
lines = c.readlines()
|
|
461
|
+
assert_equal(
|
|
462
|
+
lines,
|
|
463
|
+
[b' +3.142e+00 +2.718e+00 +3.142e+00 +2.718e+00\n',
|
|
464
|
+
b' +3.142e+00 +2.718e+00 +3.142e+00 +2.718e+00\n'])
|
|
465
|
+
|
|
466
|
+
# One format for each complex number
|
|
467
|
+
c = BytesIO()
|
|
468
|
+
np.savetxt(c, a, fmt=['(%.3e%+.3ej)'] * ncols)
|
|
469
|
+
c.seek(0)
|
|
470
|
+
lines = c.readlines()
|
|
471
|
+
assert_equal(
|
|
472
|
+
lines,
|
|
473
|
+
[b'(3.142e+00+2.718e+00j) (3.142e+00+2.718e+00j)\n',
|
|
474
|
+
b'(3.142e+00+2.718e+00j) (3.142e+00+2.718e+00j)\n'])
|
|
475
|
+
|
|
476
|
+
def test_custom_writer(self):
|
|
477
|
+
|
|
478
|
+
class CustomWriter(list):
|
|
479
|
+
def write(self, text):
|
|
480
|
+
self.extend(text.split(b'\n'))
|
|
481
|
+
|
|
482
|
+
w = CustomWriter()
|
|
483
|
+
a = np.array([(1, 2), (3, 4)])
|
|
484
|
+
np.savetxt(w, a)
|
|
485
|
+
b = np.loadtxt(w)
|
|
486
|
+
assert_array_equal(a, b)
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
class TestLoadTxt(TestCase):
|
|
490
|
+
def test_record(self):
|
|
491
|
+
c = TextIO()
|
|
492
|
+
c.write('1 2\n3 4')
|
|
493
|
+
c.seek(0)
|
|
494
|
+
x = np.loadtxt(c, dtype=[('x', np.int32), ('y', np.int32)])
|
|
495
|
+
a = np.array([(1, 2), (3, 4)], dtype=[('x', 'i4'), ('y', 'i4')])
|
|
496
|
+
assert_array_equal(x, a)
|
|
497
|
+
|
|
498
|
+
d = TextIO()
|
|
499
|
+
d.write('M 64.0 75.0\nF 25.0 60.0')
|
|
500
|
+
d.seek(0)
|
|
501
|
+
mydescriptor = {'names': ('gender', 'age', 'weight'),
|
|
502
|
+
'formats': ('S1', 'i4', 'f4')}
|
|
503
|
+
b = np.array([('M', 64.0, 75.0),
|
|
504
|
+
('F', 25.0, 60.0)], dtype=mydescriptor)
|
|
505
|
+
y = np.loadtxt(d, dtype=mydescriptor)
|
|
506
|
+
assert_array_equal(y, b)
|
|
507
|
+
|
|
508
|
+
def test_array(self):
|
|
509
|
+
c = TextIO()
|
|
510
|
+
c.write('1 2\n3 4')
|
|
511
|
+
|
|
512
|
+
c.seek(0)
|
|
513
|
+
x = np.loadtxt(c, dtype=np.int)
|
|
514
|
+
a = np.array([[1, 2], [3, 4]], int)
|
|
515
|
+
assert_array_equal(x, a)
|
|
516
|
+
|
|
517
|
+
c.seek(0)
|
|
518
|
+
x = np.loadtxt(c, dtype=float)
|
|
519
|
+
a = np.array([[1, 2], [3, 4]], float)
|
|
520
|
+
assert_array_equal(x, a)
|
|
521
|
+
|
|
522
|
+
def test_1D(self):
|
|
523
|
+
c = TextIO()
|
|
524
|
+
c.write('1\n2\n3\n4\n')
|
|
525
|
+
c.seek(0)
|
|
526
|
+
x = np.loadtxt(c, dtype=int)
|
|
527
|
+
a = np.array([1, 2, 3, 4], int)
|
|
528
|
+
assert_array_equal(x, a)
|
|
529
|
+
|
|
530
|
+
c = TextIO()
|
|
531
|
+
c.write('1,2,3,4\n')
|
|
532
|
+
c.seek(0)
|
|
533
|
+
x = np.loadtxt(c, dtype=int, delimiter=',')
|
|
534
|
+
a = np.array([1, 2, 3, 4], int)
|
|
535
|
+
assert_array_equal(x, a)
|
|
536
|
+
|
|
537
|
+
def test_missing(self):
|
|
538
|
+
c = TextIO()
|
|
539
|
+
c.write('1,2,3,,5\n')
|
|
540
|
+
c.seek(0)
|
|
541
|
+
x = np.loadtxt(c, dtype=int, delimiter=',',
|
|
542
|
+
converters={3: lambda s: int(s or - 999)})
|
|
543
|
+
a = np.array([1, 2, 3, -999, 5], int)
|
|
544
|
+
assert_array_equal(x, a)
|
|
545
|
+
|
|
546
|
+
def test_converters_with_usecols(self):
|
|
547
|
+
c = TextIO()
|
|
548
|
+
c.write('1,2,3,,5\n6,7,8,9,10\n')
|
|
549
|
+
c.seek(0)
|
|
550
|
+
x = np.loadtxt(c, dtype=int, delimiter=',',
|
|
551
|
+
converters={3: lambda s: int(s or - 999)},
|
|
552
|
+
usecols=(1, 3,))
|
|
553
|
+
a = np.array([[2, -999], [7, 9]], int)
|
|
554
|
+
assert_array_equal(x, a)
|
|
555
|
+
|
|
556
|
+
def test_comments_unicode(self):
|
|
557
|
+
c = TextIO()
|
|
558
|
+
c.write('# comment\n1,2,3,5\n')
|
|
559
|
+
c.seek(0)
|
|
560
|
+
x = np.loadtxt(c, dtype=int, delimiter=',',
|
|
561
|
+
comments=unicode('#'))
|
|
562
|
+
a = np.array([1, 2, 3, 5], int)
|
|
563
|
+
assert_array_equal(x, a)
|
|
564
|
+
|
|
565
|
+
def test_comments_byte(self):
|
|
566
|
+
c = TextIO()
|
|
567
|
+
c.write('# comment\n1,2,3,5\n')
|
|
568
|
+
c.seek(0)
|
|
569
|
+
x = np.loadtxt(c, dtype=int, delimiter=',',
|
|
570
|
+
comments=b'#')
|
|
571
|
+
a = np.array([1, 2, 3, 5], int)
|
|
572
|
+
assert_array_equal(x, a)
|
|
573
|
+
|
|
574
|
+
def test_comments_multiple(self):
|
|
575
|
+
c = TextIO()
|
|
576
|
+
c.write('# comment\n1,2,3\n@ comment2\n4,5,6 // comment3')
|
|
577
|
+
c.seek(0)
|
|
578
|
+
x = np.loadtxt(c, dtype=int, delimiter=',',
|
|
579
|
+
comments=['#', '@', '//'])
|
|
580
|
+
a = np.array([[1, 2, 3], [4, 5, 6]], int)
|
|
581
|
+
assert_array_equal(x, a)
|
|
582
|
+
|
|
583
|
+
def test_comments_multi_chars(self):
|
|
584
|
+
c = TextIO()
|
|
585
|
+
c.write('/* comment\n1,2,3,5\n')
|
|
586
|
+
c.seek(0)
|
|
587
|
+
x = np.loadtxt(c, dtype=int, delimiter=',',
|
|
588
|
+
comments='/*')
|
|
589
|
+
a = np.array([1, 2, 3, 5], int)
|
|
590
|
+
assert_array_equal(x, a)
|
|
591
|
+
|
|
592
|
+
# Check that '/*' is not transformed to ['/', '*']
|
|
593
|
+
c = TextIO()
|
|
594
|
+
c.write('*/ comment\n1,2,3,5\n')
|
|
595
|
+
c.seek(0)
|
|
596
|
+
assert_raises(ValueError, np.loadtxt, c, dtype=int, delimiter=',',
|
|
597
|
+
comments='/*')
|
|
598
|
+
|
|
599
|
+
def test_skiprows(self):
|
|
600
|
+
c = TextIO()
|
|
601
|
+
c.write('comment\n1,2,3,5\n')
|
|
602
|
+
c.seek(0)
|
|
603
|
+
x = np.loadtxt(c, dtype=int, delimiter=',',
|
|
604
|
+
skiprows=1)
|
|
605
|
+
a = np.array([1, 2, 3, 5], int)
|
|
606
|
+
assert_array_equal(x, a)
|
|
607
|
+
|
|
608
|
+
c = TextIO()
|
|
609
|
+
c.write('# comment\n1,2,3,5\n')
|
|
610
|
+
c.seek(0)
|
|
611
|
+
x = np.loadtxt(c, dtype=int, delimiter=',',
|
|
612
|
+
skiprows=1)
|
|
613
|
+
a = np.array([1, 2, 3, 5], int)
|
|
614
|
+
assert_array_equal(x, a)
|
|
615
|
+
|
|
616
|
+
def test_usecols(self):
|
|
617
|
+
a = np.array([[1, 2], [3, 4]], float)
|
|
618
|
+
c = BytesIO()
|
|
619
|
+
np.savetxt(c, a)
|
|
620
|
+
c.seek(0)
|
|
621
|
+
x = np.loadtxt(c, dtype=float, usecols=(1,))
|
|
622
|
+
assert_array_equal(x, a[:, 1])
|
|
623
|
+
|
|
624
|
+
a = np.array([[1, 2, 3], [3, 4, 5]], float)
|
|
625
|
+
c = BytesIO()
|
|
626
|
+
np.savetxt(c, a)
|
|
627
|
+
c.seek(0)
|
|
628
|
+
x = np.loadtxt(c, dtype=float, usecols=(1, 2))
|
|
629
|
+
assert_array_equal(x, a[:, 1:])
|
|
630
|
+
|
|
631
|
+
# Testing with arrays instead of tuples.
|
|
632
|
+
c.seek(0)
|
|
633
|
+
x = np.loadtxt(c, dtype=float, usecols=np.array([1, 2]))
|
|
634
|
+
assert_array_equal(x, a[:, 1:])
|
|
635
|
+
|
|
636
|
+
# Checking with dtypes defined converters.
|
|
637
|
+
data = '''JOE 70.1 25.3
|
|
638
|
+
BOB 60.5 27.9
|
|
639
|
+
'''
|
|
640
|
+
c = TextIO(data)
|
|
641
|
+
names = ['stid', 'temp']
|
|
642
|
+
dtypes = ['S4', 'f8']
|
|
643
|
+
arr = np.loadtxt(c, usecols=(0, 2), dtype=list(zip(names, dtypes)))
|
|
644
|
+
assert_equal(arr['stid'], [b"JOE", b"BOB"])
|
|
645
|
+
assert_equal(arr['temp'], [25.3, 27.9])
|
|
646
|
+
|
|
647
|
+
def test_fancy_dtype(self):
|
|
648
|
+
c = TextIO()
|
|
649
|
+
c.write('1,2,3.0\n4,5,6.0\n')
|
|
650
|
+
c.seek(0)
|
|
651
|
+
dt = np.dtype([('x', int), ('y', [('t', int), ('s', float)])])
|
|
652
|
+
x = np.loadtxt(c, dtype=dt, delimiter=',')
|
|
653
|
+
a = np.array([(1, (2, 3.0)), (4, (5, 6.0))], dt)
|
|
654
|
+
assert_array_equal(x, a)
|
|
655
|
+
|
|
656
|
+
def test_shaped_dtype(self):
|
|
657
|
+
c = TextIO("aaaa 1.0 8.0 1 2 3 4 5 6")
|
|
658
|
+
dt = np.dtype([('name', 'S4'), ('x', float), ('y', float),
|
|
659
|
+
('block', int, (2, 3))])
|
|
660
|
+
x = np.loadtxt(c, dtype=dt)
|
|
661
|
+
a = np.array([('aaaa', 1.0, 8.0, [[1, 2, 3], [4, 5, 6]])],
|
|
662
|
+
dtype=dt)
|
|
663
|
+
assert_array_equal(x, a)
|
|
664
|
+
|
|
665
|
+
def test_3d_shaped_dtype(self):
|
|
666
|
+
c = TextIO("aaaa 1.0 8.0 1 2 3 4 5 6 7 8 9 10 11 12")
|
|
667
|
+
dt = np.dtype([('name', 'S4'), ('x', float), ('y', float),
|
|
668
|
+
('block', int, (2, 2, 3))])
|
|
669
|
+
x = np.loadtxt(c, dtype=dt)
|
|
670
|
+
a = np.array([('aaaa', 1.0, 8.0,
|
|
671
|
+
[[[1, 2, 3], [4, 5, 6]], [[7, 8, 9], [10, 11, 12]]])],
|
|
672
|
+
dtype=dt)
|
|
673
|
+
assert_array_equal(x, a)
|
|
674
|
+
|
|
675
|
+
def test_empty_file(self):
|
|
676
|
+
with warnings.catch_warnings():
|
|
677
|
+
warnings.filterwarnings("ignore",
|
|
678
|
+
message="loadtxt: Empty input file:")
|
|
679
|
+
c = TextIO()
|
|
680
|
+
x = np.loadtxt(c)
|
|
681
|
+
assert_equal(x.shape, (0,))
|
|
682
|
+
x = np.loadtxt(c, dtype=np.int64)
|
|
683
|
+
assert_equal(x.shape, (0,))
|
|
684
|
+
assert_(x.dtype == np.int64)
|
|
685
|
+
|
|
686
|
+
def test_unused_converter(self):
|
|
687
|
+
c = TextIO()
|
|
688
|
+
c.writelines(['1 21\n', '3 42\n'])
|
|
689
|
+
c.seek(0)
|
|
690
|
+
data = np.loadtxt(c, usecols=(1,),
|
|
691
|
+
converters={0: lambda s: int(s, 16)})
|
|
692
|
+
assert_array_equal(data, [21, 42])
|
|
693
|
+
|
|
694
|
+
c.seek(0)
|
|
695
|
+
data = np.loadtxt(c, usecols=(1,),
|
|
696
|
+
converters={1: lambda s: int(s, 16)})
|
|
697
|
+
assert_array_equal(data, [33, 66])
|
|
698
|
+
|
|
699
|
+
def test_dtype_with_object(self):
|
|
700
|
+
# Test using an explicit dtype with an object
|
|
701
|
+
data = """ 1; 2001-01-01
|
|
702
|
+
2; 2002-01-31 """
|
|
703
|
+
ndtype = [('idx', int), ('code', np.object)]
|
|
704
|
+
func = lambda s: strptime(s.strip(), "%Y-%m-%d")
|
|
705
|
+
converters = {1: func}
|
|
706
|
+
test = np.loadtxt(TextIO(data), delimiter=";", dtype=ndtype,
|
|
707
|
+
converters=converters)
|
|
708
|
+
control = np.array(
|
|
709
|
+
[(1, datetime(2001, 1, 1)), (2, datetime(2002, 1, 31))],
|
|
710
|
+
dtype=ndtype)
|
|
711
|
+
assert_equal(test, control)
|
|
712
|
+
|
|
713
|
+
def test_uint64_type(self):
|
|
714
|
+
tgt = (9223372043271415339, 9223372043271415853)
|
|
715
|
+
c = TextIO()
|
|
716
|
+
c.write("%s %s" % tgt)
|
|
717
|
+
c.seek(0)
|
|
718
|
+
res = np.loadtxt(c, dtype=np.uint64)
|
|
719
|
+
assert_equal(res, tgt)
|
|
720
|
+
|
|
721
|
+
def test_int64_type(self):
|
|
722
|
+
tgt = (-9223372036854775807, 9223372036854775807)
|
|
723
|
+
c = TextIO()
|
|
724
|
+
c.write("%s %s" % tgt)
|
|
725
|
+
c.seek(0)
|
|
726
|
+
res = np.loadtxt(c, dtype=np.int64)
|
|
727
|
+
assert_equal(res, tgt)
|
|
728
|
+
|
|
729
|
+
def test_from_float_hex(self):
|
|
730
|
+
# IEEE doubles and floats only, otherwise the float32
|
|
731
|
+
# conversion may fail.
|
|
732
|
+
tgt = np.logspace(-10, 10, 5).astype(np.float32)
|
|
733
|
+
tgt = np.hstack((tgt, -tgt)).astype(np.float)
|
|
734
|
+
inp = '\n'.join(map(float.hex, tgt))
|
|
735
|
+
c = TextIO()
|
|
736
|
+
c.write(inp)
|
|
737
|
+
for dt in [np.float, np.float32]:
|
|
738
|
+
c.seek(0)
|
|
739
|
+
res = np.loadtxt(c, dtype=dt)
|
|
740
|
+
assert_equal(res, tgt, err_msg="%s" % dt)
|
|
741
|
+
|
|
742
|
+
def test_from_complex(self):
|
|
743
|
+
tgt = (complex(1, 1), complex(1, -1))
|
|
744
|
+
c = TextIO()
|
|
745
|
+
c.write("%s %s" % tgt)
|
|
746
|
+
c.seek(0)
|
|
747
|
+
res = np.loadtxt(c, dtype=np.complex)
|
|
748
|
+
assert_equal(res, tgt)
|
|
749
|
+
|
|
750
|
+
def test_universal_newline(self):
|
|
751
|
+
f, name = mkstemp()
|
|
752
|
+
os.write(f, b'1 21\r3 42\r')
|
|
753
|
+
os.close(f)
|
|
754
|
+
|
|
755
|
+
try:
|
|
756
|
+
data = np.loadtxt(name)
|
|
757
|
+
assert_array_equal(data, [[1, 21], [3, 42]])
|
|
758
|
+
finally:
|
|
759
|
+
os.unlink(name)
|
|
760
|
+
|
|
761
|
+
def test_empty_field_after_tab(self):
|
|
762
|
+
c = TextIO()
|
|
763
|
+
c.write('1 \t2 \t3\tstart \n4\t5\t6\t \n7\t8\t9.5\t')
|
|
764
|
+
c.seek(0)
|
|
765
|
+
dt = {'names': ('x', 'y', 'z', 'comment'),
|
|
766
|
+
'formats': ('<i4', '<i4', '<f4', '|S8')}
|
|
767
|
+
x = np.loadtxt(c, dtype=dt, delimiter='\t')
|
|
768
|
+
a = np.array([b'start ', b' ', b''])
|
|
769
|
+
assert_array_equal(x['comment'], a)
|
|
770
|
+
|
|
771
|
+
def test_structure_unpack(self):
|
|
772
|
+
txt = TextIO("M 21 72\nF 35 58")
|
|
773
|
+
dt = {'names': ('a', 'b', 'c'), 'formats': ('|S1', '<i4', '<f4')}
|
|
774
|
+
a, b, c = np.loadtxt(txt, dtype=dt, unpack=True)
|
|
775
|
+
assert_(a.dtype.str == '|S1')
|
|
776
|
+
assert_(b.dtype.str == '<i4')
|
|
777
|
+
assert_(c.dtype.str == '<f4')
|
|
778
|
+
assert_array_equal(a, np.array([b'M', b'F']))
|
|
779
|
+
assert_array_equal(b, np.array([21, 35]))
|
|
780
|
+
assert_array_equal(c, np.array([72., 58.]))
|
|
781
|
+
|
|
782
|
+
def test_ndmin_keyword(self):
|
|
783
|
+
c = TextIO()
|
|
784
|
+
c.write('1,2,3\n4,5,6')
|
|
785
|
+
c.seek(0)
|
|
786
|
+
assert_raises(ValueError, np.loadtxt, c, ndmin=3)
|
|
787
|
+
c.seek(0)
|
|
788
|
+
assert_raises(ValueError, np.loadtxt, c, ndmin=1.5)
|
|
789
|
+
c.seek(0)
|
|
790
|
+
x = np.loadtxt(c, dtype=int, delimiter=',', ndmin=1)
|
|
791
|
+
a = np.array([[1, 2, 3], [4, 5, 6]])
|
|
792
|
+
assert_array_equal(x, a)
|
|
793
|
+
|
|
794
|
+
d = TextIO()
|
|
795
|
+
d.write('0,1,2')
|
|
796
|
+
d.seek(0)
|
|
797
|
+
x = np.loadtxt(d, dtype=int, delimiter=',', ndmin=2)
|
|
798
|
+
assert_(x.shape == (1, 3))
|
|
799
|
+
d.seek(0)
|
|
800
|
+
x = np.loadtxt(d, dtype=int, delimiter=',', ndmin=1)
|
|
801
|
+
assert_(x.shape == (3,))
|
|
802
|
+
d.seek(0)
|
|
803
|
+
x = np.loadtxt(d, dtype=int, delimiter=',', ndmin=0)
|
|
804
|
+
assert_(x.shape == (3,))
|
|
805
|
+
|
|
806
|
+
e = TextIO()
|
|
807
|
+
e.write('0\n1\n2')
|
|
808
|
+
e.seek(0)
|
|
809
|
+
x = np.loadtxt(e, dtype=int, delimiter=',', ndmin=2)
|
|
810
|
+
assert_(x.shape == (3, 1))
|
|
811
|
+
e.seek(0)
|
|
812
|
+
x = np.loadtxt(e, dtype=int, delimiter=',', ndmin=1)
|
|
813
|
+
assert_(x.shape == (3,))
|
|
814
|
+
e.seek(0)
|
|
815
|
+
x = np.loadtxt(e, dtype=int, delimiter=',', ndmin=0)
|
|
816
|
+
assert_(x.shape == (3,))
|
|
817
|
+
|
|
818
|
+
# Test ndmin kw with empty file.
|
|
819
|
+
with warnings.catch_warnings():
|
|
820
|
+
warnings.filterwarnings("ignore",
|
|
821
|
+
message="loadtxt: Empty input file:")
|
|
822
|
+
f = TextIO()
|
|
823
|
+
assert_(np.loadtxt(f, ndmin=2).shape == (0, 1,))
|
|
824
|
+
assert_(np.loadtxt(f, ndmin=1).shape == (0,))
|
|
825
|
+
|
|
826
|
+
def test_generator_source(self):
|
|
827
|
+
def count():
|
|
828
|
+
for i in range(10):
|
|
829
|
+
yield "%d" % i
|
|
830
|
+
|
|
831
|
+
res = np.loadtxt(count())
|
|
832
|
+
assert_array_equal(res, np.arange(10))
|
|
833
|
+
|
|
834
|
+
def test_bad_line(self):
|
|
835
|
+
c = TextIO()
|
|
836
|
+
c.write('1 2 3\n4 5 6\n2 3')
|
|
837
|
+
c.seek(0)
|
|
838
|
+
|
|
839
|
+
# Check for exception and that exception contains line number
|
|
840
|
+
assert_raises_regex(ValueError, "3", np.loadtxt, c)
|
|
841
|
+
|
|
842
|
+
def test_none_as_string(self):
|
|
843
|
+
# gh-5155, None should work as string when format demands it
|
|
844
|
+
c = TextIO()
|
|
845
|
+
c.write('100,foo,200\n300,None,400')
|
|
846
|
+
c.seek(0)
|
|
847
|
+
dt = np.dtype([('x', int), ('a', 'S10'), ('y', int)])
|
|
848
|
+
np.loadtxt(c, delimiter=',', dtype=dt, comments=None) # Should succeed
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
class Testfromregex(TestCase):
|
|
852
|
+
# np.fromregex expects files opened in binary mode.
|
|
853
|
+
def test_record(self):
|
|
854
|
+
c = TextIO()
|
|
855
|
+
c.write('1.312 foo\n1.534 bar\n4.444 qux')
|
|
856
|
+
c.seek(0)
|
|
857
|
+
|
|
858
|
+
dt = [('num', np.float64), ('val', 'S3')]
|
|
859
|
+
x = np.fromregex(c, r"([0-9.]+)\s+(...)", dt)
|
|
860
|
+
a = np.array([(1.312, 'foo'), (1.534, 'bar'), (4.444, 'qux')],
|
|
861
|
+
dtype=dt)
|
|
862
|
+
assert_array_equal(x, a)
|
|
863
|
+
|
|
864
|
+
def test_record_2(self):
|
|
865
|
+
c = TextIO()
|
|
866
|
+
c.write('1312 foo\n1534 bar\n4444 qux')
|
|
867
|
+
c.seek(0)
|
|
868
|
+
|
|
869
|
+
dt = [('num', np.int32), ('val', 'S3')]
|
|
870
|
+
x = np.fromregex(c, r"(\d+)\s+(...)", dt)
|
|
871
|
+
a = np.array([(1312, 'foo'), (1534, 'bar'), (4444, 'qux')],
|
|
872
|
+
dtype=dt)
|
|
873
|
+
assert_array_equal(x, a)
|
|
874
|
+
|
|
875
|
+
def test_record_3(self):
|
|
876
|
+
c = TextIO()
|
|
877
|
+
c.write('1312 foo\n1534 bar\n4444 qux')
|
|
878
|
+
c.seek(0)
|
|
879
|
+
|
|
880
|
+
dt = [('num', np.float64)]
|
|
881
|
+
x = np.fromregex(c, r"(\d+)\s+...", dt)
|
|
882
|
+
a = np.array([(1312,), (1534,), (4444,)], dtype=dt)
|
|
883
|
+
assert_array_equal(x, a)
|
|
884
|
+
|
|
885
|
+
|
|
886
|
+
#####--------------------------------------------------------------------------
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
class TestFromTxt(TestCase):
|
|
890
|
+
#
|
|
891
|
+
def test_record(self):
|
|
892
|
+
# Test w/ explicit dtype
|
|
893
|
+
data = TextIO('1 2\n3 4')
|
|
894
|
+
test = np.ndfromtxt(data, dtype=[('x', np.int32), ('y', np.int32)])
|
|
895
|
+
control = np.array([(1, 2), (3, 4)], dtype=[('x', 'i4'), ('y', 'i4')])
|
|
896
|
+
assert_equal(test, control)
|
|
897
|
+
#
|
|
898
|
+
data = TextIO('M 64.0 75.0\nF 25.0 60.0')
|
|
899
|
+
descriptor = {'names': ('gender', 'age', 'weight'),
|
|
900
|
+
'formats': ('S1', 'i4', 'f4')}
|
|
901
|
+
control = np.array([('M', 64.0, 75.0), ('F', 25.0, 60.0)],
|
|
902
|
+
dtype=descriptor)
|
|
903
|
+
test = np.ndfromtxt(data, dtype=descriptor)
|
|
904
|
+
assert_equal(test, control)
|
|
905
|
+
|
|
906
|
+
def test_array(self):
|
|
907
|
+
# Test outputing a standard ndarray
|
|
908
|
+
data = TextIO('1 2\n3 4')
|
|
909
|
+
control = np.array([[1, 2], [3, 4]], dtype=int)
|
|
910
|
+
test = np.ndfromtxt(data, dtype=int)
|
|
911
|
+
assert_array_equal(test, control)
|
|
912
|
+
#
|
|
913
|
+
data.seek(0)
|
|
914
|
+
control = np.array([[1, 2], [3, 4]], dtype=float)
|
|
915
|
+
test = np.loadtxt(data, dtype=float)
|
|
916
|
+
assert_array_equal(test, control)
|
|
917
|
+
|
|
918
|
+
def test_1D(self):
|
|
919
|
+
# Test squeezing to 1D
|
|
920
|
+
control = np.array([1, 2, 3, 4], int)
|
|
921
|
+
#
|
|
922
|
+
data = TextIO('1\n2\n3\n4\n')
|
|
923
|
+
test = np.ndfromtxt(data, dtype=int)
|
|
924
|
+
assert_array_equal(test, control)
|
|
925
|
+
#
|
|
926
|
+
data = TextIO('1,2,3,4\n')
|
|
927
|
+
test = np.ndfromtxt(data, dtype=int, delimiter=',')
|
|
928
|
+
assert_array_equal(test, control)
|
|
929
|
+
|
|
930
|
+
def test_comments(self):
|
|
931
|
+
# Test the stripping of comments
|
|
932
|
+
control = np.array([1, 2, 3, 5], int)
|
|
933
|
+
# Comment on its own line
|
|
934
|
+
data = TextIO('# comment\n1,2,3,5\n')
|
|
935
|
+
test = np.ndfromtxt(data, dtype=int, delimiter=',', comments='#')
|
|
936
|
+
assert_equal(test, control)
|
|
937
|
+
# Comment at the end of a line
|
|
938
|
+
data = TextIO('1,2,3,5# comment\n')
|
|
939
|
+
test = np.ndfromtxt(data, dtype=int, delimiter=',', comments='#')
|
|
940
|
+
assert_equal(test, control)
|
|
941
|
+
|
|
942
|
+
def test_skiprows(self):
|
|
943
|
+
# Test row skipping
|
|
944
|
+
control = np.array([1, 2, 3, 5], int)
|
|
945
|
+
kwargs = dict(dtype=int, delimiter=',')
|
|
946
|
+
#
|
|
947
|
+
data = TextIO('comment\n1,2,3,5\n')
|
|
948
|
+
test = np.ndfromtxt(data, skip_header=1, **kwargs)
|
|
949
|
+
assert_equal(test, control)
|
|
950
|
+
#
|
|
951
|
+
data = TextIO('# comment\n1,2,3,5\n')
|
|
952
|
+
test = np.loadtxt(data, skiprows=1, **kwargs)
|
|
953
|
+
assert_equal(test, control)
|
|
954
|
+
|
|
955
|
+
def test_skip_footer(self):
|
|
956
|
+
data = ["# %i" % i for i in range(1, 6)]
|
|
957
|
+
data.append("A, B, C")
|
|
958
|
+
data.extend(["%i,%3.1f,%03s" % (i, i, i) for i in range(51)])
|
|
959
|
+
data[-1] = "99,99"
|
|
960
|
+
kwargs = dict(delimiter=",", names=True, skip_header=5, skip_footer=10)
|
|
961
|
+
test = np.genfromtxt(TextIO("\n".join(data)), **kwargs)
|
|
962
|
+
ctrl = np.array([("%f" % i, "%f" % i, "%f" % i) for i in range(41)],
|
|
963
|
+
dtype=[(_, float) for _ in "ABC"])
|
|
964
|
+
assert_equal(test, ctrl)
|
|
965
|
+
|
|
966
|
+
def test_skip_footer_with_invalid(self):
|
|
967
|
+
with warnings.catch_warnings():
|
|
968
|
+
warnings.filterwarnings("ignore")
|
|
969
|
+
basestr = '1 1\n2 2\n3 3\n4 4\n5 \n6 \n7 \n'
|
|
970
|
+
# Footer too small to get rid of all invalid values
|
|
971
|
+
assert_raises(ValueError, np.genfromtxt,
|
|
972
|
+
TextIO(basestr), skip_footer=1)
|
|
973
|
+
# except ValueError:
|
|
974
|
+
# pass
|
|
975
|
+
a = np.genfromtxt(
|
|
976
|
+
TextIO(basestr), skip_footer=1, invalid_raise=False)
|
|
977
|
+
assert_equal(a, np.array([[1., 1.], [2., 2.], [3., 3.], [4., 4.]]))
|
|
978
|
+
#
|
|
979
|
+
a = np.genfromtxt(TextIO(basestr), skip_footer=3)
|
|
980
|
+
assert_equal(a, np.array([[1., 1.], [2., 2.], [3., 3.], [4., 4.]]))
|
|
981
|
+
#
|
|
982
|
+
basestr = '1 1\n2 \n3 3\n4 4\n5 \n6 6\n7 7\n'
|
|
983
|
+
a = np.genfromtxt(
|
|
984
|
+
TextIO(basestr), skip_footer=1, invalid_raise=False)
|
|
985
|
+
assert_equal(a, np.array([[1., 1.], [3., 3.], [4., 4.], [6., 6.]]))
|
|
986
|
+
a = np.genfromtxt(
|
|
987
|
+
TextIO(basestr), skip_footer=3, invalid_raise=False)
|
|
988
|
+
assert_equal(a, np.array([[1., 1.], [3., 3.], [4., 4.]]))
|
|
989
|
+
|
|
990
|
+
def test_header(self):
|
|
991
|
+
# Test retrieving a header
|
|
992
|
+
data = TextIO('gender age weight\nM 64.0 75.0\nF 25.0 60.0')
|
|
993
|
+
test = np.ndfromtxt(data, dtype=None, names=True)
|
|
994
|
+
control = {'gender': np.array([b'M', b'F']),
|
|
995
|
+
'age': np.array([64.0, 25.0]),
|
|
996
|
+
'weight': np.array([75.0, 60.0])}
|
|
997
|
+
assert_equal(test['gender'], control['gender'])
|
|
998
|
+
assert_equal(test['age'], control['age'])
|
|
999
|
+
assert_equal(test['weight'], control['weight'])
|
|
1000
|
+
|
|
1001
|
+
def test_auto_dtype(self):
|
|
1002
|
+
# Test the automatic definition of the output dtype
|
|
1003
|
+
data = TextIO('A 64 75.0 3+4j True\nBCD 25 60.0 5+6j False')
|
|
1004
|
+
test = np.ndfromtxt(data, dtype=None)
|
|
1005
|
+
control = [np.array([b'A', b'BCD']),
|
|
1006
|
+
np.array([64, 25]),
|
|
1007
|
+
np.array([75.0, 60.0]),
|
|
1008
|
+
np.array([3 + 4j, 5 + 6j]),
|
|
1009
|
+
np.array([True, False]), ]
|
|
1010
|
+
assert_equal(test.dtype.names, ['f0', 'f1', 'f2', 'f3', 'f4'])
|
|
1011
|
+
for (i, ctrl) in enumerate(control):
|
|
1012
|
+
assert_equal(test['f%i' % i], ctrl)
|
|
1013
|
+
|
|
1014
|
+
def test_auto_dtype_uniform(self):
|
|
1015
|
+
# Tests whether the output dtype can be uniformized
|
|
1016
|
+
data = TextIO('1 2 3 4\n5 6 7 8\n')
|
|
1017
|
+
test = np.ndfromtxt(data, dtype=None)
|
|
1018
|
+
control = np.array([[1, 2, 3, 4], [5, 6, 7, 8]])
|
|
1019
|
+
assert_equal(test, control)
|
|
1020
|
+
|
|
1021
|
+
def test_fancy_dtype(self):
|
|
1022
|
+
# Check that a nested dtype isn't MIA
|
|
1023
|
+
data = TextIO('1,2,3.0\n4,5,6.0\n')
|
|
1024
|
+
fancydtype = np.dtype([('x', int), ('y', [('t', int), ('s', float)])])
|
|
1025
|
+
test = np.ndfromtxt(data, dtype=fancydtype, delimiter=',')
|
|
1026
|
+
control = np.array([(1, (2, 3.0)), (4, (5, 6.0))], dtype=fancydtype)
|
|
1027
|
+
assert_equal(test, control)
|
|
1028
|
+
|
|
1029
|
+
def test_names_overwrite(self):
|
|
1030
|
+
# Test overwriting the names of the dtype
|
|
1031
|
+
descriptor = {'names': ('g', 'a', 'w'),
|
|
1032
|
+
'formats': ('S1', 'i4', 'f4')}
|
|
1033
|
+
data = TextIO(b'M 64.0 75.0\nF 25.0 60.0')
|
|
1034
|
+
names = ('gender', 'age', 'weight')
|
|
1035
|
+
test = np.ndfromtxt(data, dtype=descriptor, names=names)
|
|
1036
|
+
descriptor['names'] = names
|
|
1037
|
+
control = np.array([('M', 64.0, 75.0),
|
|
1038
|
+
('F', 25.0, 60.0)], dtype=descriptor)
|
|
1039
|
+
assert_equal(test, control)
|
|
1040
|
+
|
|
1041
|
+
def test_commented_header(self):
|
|
1042
|
+
# Check that names can be retrieved even if the line is commented out.
|
|
1043
|
+
data = TextIO("""
|
|
1044
|
+
#gender age weight
|
|
1045
|
+
M 21 72.100000
|
|
1046
|
+
F 35 58.330000
|
|
1047
|
+
M 33 21.99
|
|
1048
|
+
""")
|
|
1049
|
+
# The # is part of the first name and should be deleted automatically.
|
|
1050
|
+
test = np.genfromtxt(data, names=True, dtype=None)
|
|
1051
|
+
ctrl = np.array([('M', 21, 72.1), ('F', 35, 58.33), ('M', 33, 21.99)],
|
|
1052
|
+
dtype=[('gender', '|S1'), ('age', int), ('weight', float)])
|
|
1053
|
+
assert_equal(test, ctrl)
|
|
1054
|
+
# Ditto, but we should get rid of the first element
|
|
1055
|
+
data = TextIO(b"""
|
|
1056
|
+
# gender age weight
|
|
1057
|
+
M 21 72.100000
|
|
1058
|
+
F 35 58.330000
|
|
1059
|
+
M 33 21.99
|
|
1060
|
+
""")
|
|
1061
|
+
test = np.genfromtxt(data, names=True, dtype=None)
|
|
1062
|
+
assert_equal(test, ctrl)
|
|
1063
|
+
|
|
1064
|
+
def test_autonames_and_usecols(self):
|
|
1065
|
+
# Tests names and usecols
|
|
1066
|
+
data = TextIO('A B C D\n aaaa 121 45 9.1')
|
|
1067
|
+
test = np.ndfromtxt(data, usecols=('A', 'C', 'D'),
|
|
1068
|
+
names=True, dtype=None)
|
|
1069
|
+
control = np.array(('aaaa', 45, 9.1),
|
|
1070
|
+
dtype=[('A', '|S4'), ('C', int), ('D', float)])
|
|
1071
|
+
assert_equal(test, control)
|
|
1072
|
+
|
|
1073
|
+
def test_converters_with_usecols(self):
|
|
1074
|
+
# Test the combination user-defined converters and usecol
|
|
1075
|
+
data = TextIO('1,2,3,,5\n6,7,8,9,10\n')
|
|
1076
|
+
test = np.ndfromtxt(data, dtype=int, delimiter=',',
|
|
1077
|
+
converters={3: lambda s: int(s or - 999)},
|
|
1078
|
+
usecols=(1, 3,))
|
|
1079
|
+
control = np.array([[2, -999], [7, 9]], int)
|
|
1080
|
+
assert_equal(test, control)
|
|
1081
|
+
|
|
1082
|
+
def test_converters_with_usecols_and_names(self):
|
|
1083
|
+
# Tests names and usecols
|
|
1084
|
+
data = TextIO('A B C D\n aaaa 121 45 9.1')
|
|
1085
|
+
test = np.ndfromtxt(data, usecols=('A', 'C', 'D'), names=True,
|
|
1086
|
+
dtype=None, converters={'C': lambda s: 2 * int(s)})
|
|
1087
|
+
control = np.array(('aaaa', 90, 9.1),
|
|
1088
|
+
dtype=[('A', '|S4'), ('C', int), ('D', float)])
|
|
1089
|
+
assert_equal(test, control)
|
|
1090
|
+
|
|
1091
|
+
def test_converters_cornercases(self):
|
|
1092
|
+
# Test the conversion to datetime.
|
|
1093
|
+
converter = {
|
|
1094
|
+
'date': lambda s: strptime(s, '%Y-%m-%d %H:%M:%SZ')}
|
|
1095
|
+
data = TextIO('2009-02-03 12:00:00Z, 72214.0')
|
|
1096
|
+
test = np.ndfromtxt(data, delimiter=',', dtype=None,
|
|
1097
|
+
names=['date', 'stid'], converters=converter)
|
|
1098
|
+
control = np.array((datetime(2009, 2, 3), 72214.),
|
|
1099
|
+
dtype=[('date', np.object_), ('stid', float)])
|
|
1100
|
+
assert_equal(test, control)
|
|
1101
|
+
|
|
1102
|
+
def test_converters_cornercases2(self):
|
|
1103
|
+
# Test the conversion to datetime64.
|
|
1104
|
+
converter = {
|
|
1105
|
+
'date': lambda s: np.datetime64(strptime(s, '%Y-%m-%d %H:%M:%SZ'))}
|
|
1106
|
+
data = TextIO('2009-02-03 12:00:00Z, 72214.0')
|
|
1107
|
+
test = np.ndfromtxt(data, delimiter=',', dtype=None,
|
|
1108
|
+
names=['date', 'stid'], converters=converter)
|
|
1109
|
+
control = np.array((datetime(2009, 2, 3), 72214.),
|
|
1110
|
+
dtype=[('date', 'datetime64[us]'), ('stid', float)])
|
|
1111
|
+
assert_equal(test, control)
|
|
1112
|
+
|
|
1113
|
+
def test_unused_converter(self):
|
|
1114
|
+
# Test whether unused converters are forgotten
|
|
1115
|
+
data = TextIO("1 21\n 3 42\n")
|
|
1116
|
+
test = np.ndfromtxt(data, usecols=(1,),
|
|
1117
|
+
converters={0: lambda s: int(s, 16)})
|
|
1118
|
+
assert_equal(test, [21, 42])
|
|
1119
|
+
#
|
|
1120
|
+
data.seek(0)
|
|
1121
|
+
test = np.ndfromtxt(data, usecols=(1,),
|
|
1122
|
+
converters={1: lambda s: int(s, 16)})
|
|
1123
|
+
assert_equal(test, [33, 66])
|
|
1124
|
+
|
|
1125
|
+
def test_invalid_converter(self):
|
|
1126
|
+
strip_rand = lambda x: float((b'r' in x.lower() and x.split()[-1]) or
|
|
1127
|
+
(b'r' not in x.lower() and x.strip() or 0.0))
|
|
1128
|
+
strip_per = lambda x: float((b'%' in x.lower() and x.split()[0]) or
|
|
1129
|
+
(b'%' not in x.lower() and x.strip() or 0.0))
|
|
1130
|
+
s = TextIO("D01N01,10/1/2003 ,1 %,R 75,400,600\r\n"
|
|
1131
|
+
"L24U05,12/5/2003, 2 %,1,300, 150.5\r\n"
|
|
1132
|
+
"D02N03,10/10/2004,R 1,,7,145.55")
|
|
1133
|
+
kwargs = dict(
|
|
1134
|
+
converters={2: strip_per, 3: strip_rand}, delimiter=",",
|
|
1135
|
+
dtype=None)
|
|
1136
|
+
assert_raises(ConverterError, np.genfromtxt, s, **kwargs)
|
|
1137
|
+
|
|
1138
|
+
def test_tricky_converter_bug1666(self):
|
|
1139
|
+
# Test some corner cases
|
|
1140
|
+
s = TextIO('q1,2\nq3,4')
|
|
1141
|
+
cnv = lambda s: float(s[1:])
|
|
1142
|
+
test = np.genfromtxt(s, delimiter=',', converters={0: cnv})
|
|
1143
|
+
control = np.array([[1., 2.], [3., 4.]])
|
|
1144
|
+
assert_equal(test, control)
|
|
1145
|
+
|
|
1146
|
+
def test_dtype_with_converters(self):
|
|
1147
|
+
dstr = "2009; 23; 46"
|
|
1148
|
+
test = np.ndfromtxt(TextIO(dstr,),
|
|
1149
|
+
delimiter=";", dtype=float, converters={0: bytes})
|
|
1150
|
+
control = np.array([('2009', 23., 46)],
|
|
1151
|
+
dtype=[('f0', '|S4'), ('f1', float), ('f2', float)])
|
|
1152
|
+
assert_equal(test, control)
|
|
1153
|
+
test = np.ndfromtxt(TextIO(dstr,),
|
|
1154
|
+
delimiter=";", dtype=float, converters={0: float})
|
|
1155
|
+
control = np.array([2009., 23., 46],)
|
|
1156
|
+
assert_equal(test, control)
|
|
1157
|
+
|
|
1158
|
+
def test_dtype_with_converters_and_usecols(self):
|
|
1159
|
+
dstr = "1,5,-1,1:1\n2,8,-1,1:n\n3,3,-2,m:n\n"
|
|
1160
|
+
dmap = {'1:1':0, '1:n':1, 'm:1':2, 'm:n':3}
|
|
1161
|
+
dtyp = [('e1','i4'),('e2','i4'),('e3','i2'),('n', 'i1')]
|
|
1162
|
+
conv = {0: int, 1: int, 2: int, 3: lambda r: dmap[r.decode()]}
|
|
1163
|
+
test = np.recfromcsv(TextIO(dstr,), dtype=dtyp, delimiter=',',
|
|
1164
|
+
names=None, converters=conv)
|
|
1165
|
+
control = np.rec.array([[1,5,-1,0], [2,8,-1,1], [3,3,-2,3]], dtype=dtyp)
|
|
1166
|
+
assert_equal(test, control)
|
|
1167
|
+
dtyp = [('e1','i4'),('e2','i4'),('n', 'i1')]
|
|
1168
|
+
test = np.recfromcsv(TextIO(dstr,), dtype=dtyp, delimiter=',',
|
|
1169
|
+
usecols=(0,1,3), names=None, converters=conv)
|
|
1170
|
+
control = np.rec.array([[1,5,0], [2,8,1], [3,3,3]], dtype=dtyp)
|
|
1171
|
+
assert_equal(test, control)
|
|
1172
|
+
|
|
1173
|
+
def test_dtype_with_object(self):
|
|
1174
|
+
# Test using an explicit dtype with an object
|
|
1175
|
+
data = """ 1; 2001-01-01
|
|
1176
|
+
2; 2002-01-31 """
|
|
1177
|
+
ndtype = [('idx', int), ('code', np.object)]
|
|
1178
|
+
func = lambda s: strptime(s.strip(), "%Y-%m-%d")
|
|
1179
|
+
converters = {1: func}
|
|
1180
|
+
test = np.genfromtxt(TextIO(data), delimiter=";", dtype=ndtype,
|
|
1181
|
+
converters=converters)
|
|
1182
|
+
control = np.array(
|
|
1183
|
+
[(1, datetime(2001, 1, 1)), (2, datetime(2002, 1, 31))],
|
|
1184
|
+
dtype=ndtype)
|
|
1185
|
+
assert_equal(test, control)
|
|
1186
|
+
|
|
1187
|
+
ndtype = [('nest', [('idx', int), ('code', np.object)])]
|
|
1188
|
+
try:
|
|
1189
|
+
test = np.genfromtxt(TextIO(data), delimiter=";",
|
|
1190
|
+
dtype=ndtype, converters=converters)
|
|
1191
|
+
except NotImplementedError:
|
|
1192
|
+
pass
|
|
1193
|
+
else:
|
|
1194
|
+
errmsg = "Nested dtype involving objects should be supported."
|
|
1195
|
+
raise AssertionError(errmsg)
|
|
1196
|
+
|
|
1197
|
+
def test_userconverters_with_explicit_dtype(self):
|
|
1198
|
+
# Test user_converters w/ explicit (standard) dtype
|
|
1199
|
+
data = TextIO('skip,skip,2001-01-01,1.0,skip')
|
|
1200
|
+
test = np.genfromtxt(data, delimiter=",", names=None, dtype=float,
|
|
1201
|
+
usecols=(2, 3), converters={2: bytes})
|
|
1202
|
+
control = np.array([('2001-01-01', 1.)],
|
|
1203
|
+
dtype=[('', '|S10'), ('', float)])
|
|
1204
|
+
assert_equal(test, control)
|
|
1205
|
+
|
|
1206
|
+
def test_spacedelimiter(self):
|
|
1207
|
+
# Test space delimiter
|
|
1208
|
+
data = TextIO("1 2 3 4 5\n6 7 8 9 10")
|
|
1209
|
+
test = np.ndfromtxt(data)
|
|
1210
|
+
control = np.array([[1., 2., 3., 4., 5.],
|
|
1211
|
+
[6., 7., 8., 9., 10.]])
|
|
1212
|
+
assert_equal(test, control)
|
|
1213
|
+
|
|
1214
|
+
def test_integer_delimiter(self):
|
|
1215
|
+
# Test using an integer for delimiter
|
|
1216
|
+
data = " 1 2 3\n 4 5 67\n890123 4"
|
|
1217
|
+
test = np.genfromtxt(TextIO(data), delimiter=3)
|
|
1218
|
+
control = np.array([[1, 2, 3], [4, 5, 67], [890, 123, 4]])
|
|
1219
|
+
assert_equal(test, control)
|
|
1220
|
+
|
|
1221
|
+
def test_missing(self):
|
|
1222
|
+
data = TextIO('1,2,3,,5\n')
|
|
1223
|
+
test = np.ndfromtxt(data, dtype=int, delimiter=',',
|
|
1224
|
+
converters={3: lambda s: int(s or - 999)})
|
|
1225
|
+
control = np.array([1, 2, 3, -999, 5], int)
|
|
1226
|
+
assert_equal(test, control)
|
|
1227
|
+
|
|
1228
|
+
def test_missing_with_tabs(self):
|
|
1229
|
+
# Test w/ a delimiter tab
|
|
1230
|
+
txt = "1\t2\t3\n\t2\t\n1\t\t3"
|
|
1231
|
+
test = np.genfromtxt(TextIO(txt), delimiter="\t",
|
|
1232
|
+
usemask=True,)
|
|
1233
|
+
ctrl_d = np.array([(1, 2, 3), (np.nan, 2, np.nan), (1, np.nan, 3)],)
|
|
1234
|
+
ctrl_m = np.array([(0, 0, 0), (1, 0, 1), (0, 1, 0)], dtype=bool)
|
|
1235
|
+
assert_equal(test.data, ctrl_d)
|
|
1236
|
+
assert_equal(test.mask, ctrl_m)
|
|
1237
|
+
|
|
1238
|
+
def test_usecols(self):
|
|
1239
|
+
# Test the selection of columns
|
|
1240
|
+
# Select 1 column
|
|
1241
|
+
control = np.array([[1, 2], [3, 4]], float)
|
|
1242
|
+
data = TextIO()
|
|
1243
|
+
np.savetxt(data, control)
|
|
1244
|
+
data.seek(0)
|
|
1245
|
+
test = np.ndfromtxt(data, dtype=float, usecols=(1,))
|
|
1246
|
+
assert_equal(test, control[:, 1])
|
|
1247
|
+
#
|
|
1248
|
+
control = np.array([[1, 2, 3], [3, 4, 5]], float)
|
|
1249
|
+
data = TextIO()
|
|
1250
|
+
np.savetxt(data, control)
|
|
1251
|
+
data.seek(0)
|
|
1252
|
+
test = np.ndfromtxt(data, dtype=float, usecols=(1, 2))
|
|
1253
|
+
assert_equal(test, control[:, 1:])
|
|
1254
|
+
# Testing with arrays instead of tuples.
|
|
1255
|
+
data.seek(0)
|
|
1256
|
+
test = np.ndfromtxt(data, dtype=float, usecols=np.array([1, 2]))
|
|
1257
|
+
assert_equal(test, control[:, 1:])
|
|
1258
|
+
|
|
1259
|
+
def test_usecols_as_css(self):
|
|
1260
|
+
# Test giving usecols with a comma-separated string
|
|
1261
|
+
data = "1 2 3\n4 5 6"
|
|
1262
|
+
test = np.genfromtxt(TextIO(data),
|
|
1263
|
+
names="a, b, c", usecols="a, c")
|
|
1264
|
+
ctrl = np.array([(1, 3), (4, 6)], dtype=[(_, float) for _ in "ac"])
|
|
1265
|
+
assert_equal(test, ctrl)
|
|
1266
|
+
|
|
1267
|
+
def test_usecols_with_structured_dtype(self):
|
|
1268
|
+
# Test usecols with an explicit structured dtype
|
|
1269
|
+
data = TextIO("JOE 70.1 25.3\nBOB 60.5 27.9")
|
|
1270
|
+
names = ['stid', 'temp']
|
|
1271
|
+
dtypes = ['S4', 'f8']
|
|
1272
|
+
test = np.ndfromtxt(
|
|
1273
|
+
data, usecols=(0, 2), dtype=list(zip(names, dtypes)))
|
|
1274
|
+
assert_equal(test['stid'], [b"JOE", b"BOB"])
|
|
1275
|
+
assert_equal(test['temp'], [25.3, 27.9])
|
|
1276
|
+
|
|
1277
|
+
def test_usecols_with_integer(self):
|
|
1278
|
+
# Test usecols with an integer
|
|
1279
|
+
test = np.genfromtxt(TextIO(b"1 2 3\n4 5 6"), usecols=0)
|
|
1280
|
+
assert_equal(test, np.array([1., 4.]))
|
|
1281
|
+
|
|
1282
|
+
def test_usecols_with_named_columns(self):
|
|
1283
|
+
# Test usecols with named columns
|
|
1284
|
+
ctrl = np.array([(1, 3), (4, 6)], dtype=[('a', float), ('c', float)])
|
|
1285
|
+
data = "1 2 3\n4 5 6"
|
|
1286
|
+
kwargs = dict(names="a, b, c")
|
|
1287
|
+
test = np.genfromtxt(TextIO(data), usecols=(0, -1), **kwargs)
|
|
1288
|
+
assert_equal(test, ctrl)
|
|
1289
|
+
test = np.genfromtxt(TextIO(data),
|
|
1290
|
+
usecols=('a', 'c'), **kwargs)
|
|
1291
|
+
assert_equal(test, ctrl)
|
|
1292
|
+
|
|
1293
|
+
def test_empty_file(self):
|
|
1294
|
+
# Test that an empty file raises the proper warning.
|
|
1295
|
+
with warnings.catch_warnings():
|
|
1296
|
+
warnings.filterwarnings("ignore",
|
|
1297
|
+
message="genfromtxt: Empty input file:")
|
|
1298
|
+
data = TextIO()
|
|
1299
|
+
test = np.genfromtxt(data)
|
|
1300
|
+
assert_equal(test, np.array([]))
|
|
1301
|
+
|
|
1302
|
+
def test_fancy_dtype_alt(self):
|
|
1303
|
+
# Check that a nested dtype isn't MIA
|
|
1304
|
+
data = TextIO('1,2,3.0\n4,5,6.0\n')
|
|
1305
|
+
fancydtype = np.dtype([('x', int), ('y', [('t', int), ('s', float)])])
|
|
1306
|
+
test = np.mafromtxt(data, dtype=fancydtype, delimiter=',')
|
|
1307
|
+
control = ma.array([(1, (2, 3.0)), (4, (5, 6.0))], dtype=fancydtype)
|
|
1308
|
+
assert_equal(test, control)
|
|
1309
|
+
|
|
1310
|
+
def test_shaped_dtype(self):
|
|
1311
|
+
c = TextIO("aaaa 1.0 8.0 1 2 3 4 5 6")
|
|
1312
|
+
dt = np.dtype([('name', 'S4'), ('x', float), ('y', float),
|
|
1313
|
+
('block', int, (2, 3))])
|
|
1314
|
+
x = np.ndfromtxt(c, dtype=dt)
|
|
1315
|
+
a = np.array([('aaaa', 1.0, 8.0, [[1, 2, 3], [4, 5, 6]])],
|
|
1316
|
+
dtype=dt)
|
|
1317
|
+
assert_array_equal(x, a)
|
|
1318
|
+
|
|
1319
|
+
def test_withmissing(self):
|
|
1320
|
+
data = TextIO('A,B\n0,1\n2,N/A')
|
|
1321
|
+
kwargs = dict(delimiter=",", missing_values="N/A", names=True)
|
|
1322
|
+
test = np.mafromtxt(data, dtype=None, **kwargs)
|
|
1323
|
+
control = ma.array([(0, 1), (2, -1)],
|
|
1324
|
+
mask=[(False, False), (False, True)],
|
|
1325
|
+
dtype=[('A', np.int), ('B', np.int)])
|
|
1326
|
+
assert_equal(test, control)
|
|
1327
|
+
assert_equal(test.mask, control.mask)
|
|
1328
|
+
#
|
|
1329
|
+
data.seek(0)
|
|
1330
|
+
test = np.mafromtxt(data, **kwargs)
|
|
1331
|
+
control = ma.array([(0, 1), (2, -1)],
|
|
1332
|
+
mask=[(False, False), (False, True)],
|
|
1333
|
+
dtype=[('A', np.float), ('B', np.float)])
|
|
1334
|
+
assert_equal(test, control)
|
|
1335
|
+
assert_equal(test.mask, control.mask)
|
|
1336
|
+
|
|
1337
|
+
def test_user_missing_values(self):
|
|
1338
|
+
data = "A, B, C\n0, 0., 0j\n1, N/A, 1j\n-9, 2.2, N/A\n3, -99, 3j"
|
|
1339
|
+
basekwargs = dict(dtype=None, delimiter=",", names=True,)
|
|
1340
|
+
mdtype = [('A', int), ('B', float), ('C', complex)]
|
|
1341
|
+
#
|
|
1342
|
+
test = np.mafromtxt(TextIO(data), missing_values="N/A",
|
|
1343
|
+
**basekwargs)
|
|
1344
|
+
control = ma.array([(0, 0.0, 0j), (1, -999, 1j),
|
|
1345
|
+
(-9, 2.2, -999j), (3, -99, 3j)],
|
|
1346
|
+
mask=[(0, 0, 0), (0, 1, 0), (0, 0, 1), (0, 0, 0)],
|
|
1347
|
+
dtype=mdtype)
|
|
1348
|
+
assert_equal(test, control)
|
|
1349
|
+
#
|
|
1350
|
+
basekwargs['dtype'] = mdtype
|
|
1351
|
+
test = np.mafromtxt(TextIO(data),
|
|
1352
|
+
missing_values={0: -9, 1: -99, 2: -999j}, **basekwargs)
|
|
1353
|
+
control = ma.array([(0, 0.0, 0j), (1, -999, 1j),
|
|
1354
|
+
(-9, 2.2, -999j), (3, -99, 3j)],
|
|
1355
|
+
mask=[(0, 0, 0), (0, 1, 0), (1, 0, 1), (0, 1, 0)],
|
|
1356
|
+
dtype=mdtype)
|
|
1357
|
+
assert_equal(test, control)
|
|
1358
|
+
#
|
|
1359
|
+
test = np.mafromtxt(TextIO(data),
|
|
1360
|
+
missing_values={0: -9, 'B': -99, 'C': -999j},
|
|
1361
|
+
**basekwargs)
|
|
1362
|
+
control = ma.array([(0, 0.0, 0j), (1, -999, 1j),
|
|
1363
|
+
(-9, 2.2, -999j), (3, -99, 3j)],
|
|
1364
|
+
mask=[(0, 0, 0), (0, 1, 0), (1, 0, 1), (0, 1, 0)],
|
|
1365
|
+
dtype=mdtype)
|
|
1366
|
+
assert_equal(test, control)
|
|
1367
|
+
|
|
1368
|
+
def test_user_filling_values(self):
|
|
1369
|
+
# Test with missing and filling values
|
|
1370
|
+
ctrl = np.array([(0, 3), (4, -999)], dtype=[('a', int), ('b', int)])
|
|
1371
|
+
data = "N/A, 2, 3\n4, ,???"
|
|
1372
|
+
kwargs = dict(delimiter=",",
|
|
1373
|
+
dtype=int,
|
|
1374
|
+
names="a,b,c",
|
|
1375
|
+
missing_values={0: "N/A", 'b': " ", 2: "???"},
|
|
1376
|
+
filling_values={0: 0, 'b': 0, 2: -999})
|
|
1377
|
+
test = np.genfromtxt(TextIO(data), **kwargs)
|
|
1378
|
+
ctrl = np.array([(0, 2, 3), (4, 0, -999)],
|
|
1379
|
+
dtype=[(_, int) for _ in "abc"])
|
|
1380
|
+
assert_equal(test, ctrl)
|
|
1381
|
+
#
|
|
1382
|
+
test = np.genfromtxt(TextIO(data), usecols=(0, -1), **kwargs)
|
|
1383
|
+
ctrl = np.array([(0, 3), (4, -999)], dtype=[(_, int) for _ in "ac"])
|
|
1384
|
+
assert_equal(test, ctrl)
|
|
1385
|
+
|
|
1386
|
+
data2 = "1,2,*,4\n5,*,7,8\n"
|
|
1387
|
+
test = np.genfromtxt(TextIO(data2), delimiter=',', dtype=int,
|
|
1388
|
+
missing_values="*", filling_values=0)
|
|
1389
|
+
ctrl = np.array([[1, 2, 0, 4], [5, 0, 7, 8]])
|
|
1390
|
+
assert_equal(test, ctrl)
|
|
1391
|
+
test = np.genfromtxt(TextIO(data2), delimiter=',', dtype=int,
|
|
1392
|
+
missing_values="*", filling_values=-1)
|
|
1393
|
+
ctrl = np.array([[1, 2, -1, 4], [5, -1, 7, 8]])
|
|
1394
|
+
assert_equal(test, ctrl)
|
|
1395
|
+
|
|
1396
|
+
def test_withmissing_float(self):
|
|
1397
|
+
data = TextIO('A,B\n0,1.5\n2,-999.00')
|
|
1398
|
+
test = np.mafromtxt(data, dtype=None, delimiter=',',
|
|
1399
|
+
missing_values='-999.0', names=True,)
|
|
1400
|
+
control = ma.array([(0, 1.5), (2, -1.)],
|
|
1401
|
+
mask=[(False, False), (False, True)],
|
|
1402
|
+
dtype=[('A', np.int), ('B', np.float)])
|
|
1403
|
+
assert_equal(test, control)
|
|
1404
|
+
assert_equal(test.mask, control.mask)
|
|
1405
|
+
|
|
1406
|
+
def test_with_masked_column_uniform(self):
|
|
1407
|
+
# Test masked column
|
|
1408
|
+
data = TextIO('1 2 3\n4 5 6\n')
|
|
1409
|
+
test = np.genfromtxt(data, dtype=None,
|
|
1410
|
+
missing_values='2,5', usemask=True)
|
|
1411
|
+
control = ma.array([[1, 2, 3], [4, 5, 6]], mask=[[0, 1, 0], [0, 1, 0]])
|
|
1412
|
+
assert_equal(test, control)
|
|
1413
|
+
|
|
1414
|
+
def test_with_masked_column_various(self):
|
|
1415
|
+
# Test masked column
|
|
1416
|
+
data = TextIO('True 2 3\nFalse 5 6\n')
|
|
1417
|
+
test = np.genfromtxt(data, dtype=None,
|
|
1418
|
+
missing_values='2,5', usemask=True)
|
|
1419
|
+
control = ma.array([(1, 2, 3), (0, 5, 6)],
|
|
1420
|
+
mask=[(0, 1, 0), (0, 1, 0)],
|
|
1421
|
+
dtype=[('f0', bool), ('f1', bool), ('f2', int)])
|
|
1422
|
+
assert_equal(test, control)
|
|
1423
|
+
|
|
1424
|
+
def test_invalid_raise(self):
|
|
1425
|
+
# Test invalid raise
|
|
1426
|
+
data = ["1, 1, 1, 1, 1"] * 50
|
|
1427
|
+
for i in range(5):
|
|
1428
|
+
data[10 * i] = "2, 2, 2, 2 2"
|
|
1429
|
+
data.insert(0, "a, b, c, d, e")
|
|
1430
|
+
mdata = TextIO("\n".join(data))
|
|
1431
|
+
#
|
|
1432
|
+
kwargs = dict(delimiter=",", dtype=None, names=True)
|
|
1433
|
+
# XXX: is there a better way to get the return value of the
|
|
1434
|
+
# callable in assert_warns ?
|
|
1435
|
+
ret = {}
|
|
1436
|
+
|
|
1437
|
+
def f(_ret={}):
|
|
1438
|
+
_ret['mtest'] = np.ndfromtxt(mdata, invalid_raise=False, **kwargs)
|
|
1439
|
+
assert_warns(ConversionWarning, f, _ret=ret)
|
|
1440
|
+
mtest = ret['mtest']
|
|
1441
|
+
assert_equal(len(mtest), 45)
|
|
1442
|
+
assert_equal(mtest, np.ones(45, dtype=[(_, int) for _ in 'abcde']))
|
|
1443
|
+
#
|
|
1444
|
+
mdata.seek(0)
|
|
1445
|
+
assert_raises(ValueError, np.ndfromtxt, mdata,
|
|
1446
|
+
delimiter=",", names=True)
|
|
1447
|
+
|
|
1448
|
+
def test_invalid_raise_with_usecols(self):
|
|
1449
|
+
# Test invalid_raise with usecols
|
|
1450
|
+
data = ["1, 1, 1, 1, 1"] * 50
|
|
1451
|
+
for i in range(5):
|
|
1452
|
+
data[10 * i] = "2, 2, 2, 2 2"
|
|
1453
|
+
data.insert(0, "a, b, c, d, e")
|
|
1454
|
+
mdata = TextIO("\n".join(data))
|
|
1455
|
+
kwargs = dict(delimiter=",", dtype=None, names=True,
|
|
1456
|
+
invalid_raise=False)
|
|
1457
|
+
# XXX: is there a better way to get the return value of the
|
|
1458
|
+
# callable in assert_warns ?
|
|
1459
|
+
ret = {}
|
|
1460
|
+
|
|
1461
|
+
def f(_ret={}):
|
|
1462
|
+
_ret['mtest'] = np.ndfromtxt(mdata, usecols=(0, 4), **kwargs)
|
|
1463
|
+
assert_warns(ConversionWarning, f, _ret=ret)
|
|
1464
|
+
mtest = ret['mtest']
|
|
1465
|
+
assert_equal(len(mtest), 45)
|
|
1466
|
+
assert_equal(mtest, np.ones(45, dtype=[(_, int) for _ in 'ae']))
|
|
1467
|
+
#
|
|
1468
|
+
mdata.seek(0)
|
|
1469
|
+
mtest = np.ndfromtxt(mdata, usecols=(0, 1), **kwargs)
|
|
1470
|
+
assert_equal(len(mtest), 50)
|
|
1471
|
+
control = np.ones(50, dtype=[(_, int) for _ in 'ab'])
|
|
1472
|
+
control[[10 * _ for _ in range(5)]] = (2, 2)
|
|
1473
|
+
assert_equal(mtest, control)
|
|
1474
|
+
|
|
1475
|
+
def test_inconsistent_dtype(self):
|
|
1476
|
+
# Test inconsistent dtype
|
|
1477
|
+
data = ["1, 1, 1, 1, -1.1"] * 50
|
|
1478
|
+
mdata = TextIO("\n".join(data))
|
|
1479
|
+
|
|
1480
|
+
converters = {4: lambda x: "(%s)" % x}
|
|
1481
|
+
kwargs = dict(delimiter=",", converters=converters,
|
|
1482
|
+
dtype=[(_, int) for _ in 'abcde'],)
|
|
1483
|
+
assert_raises(ValueError, np.genfromtxt, mdata, **kwargs)
|
|
1484
|
+
|
|
1485
|
+
def test_default_field_format(self):
|
|
1486
|
+
# Test default format
|
|
1487
|
+
data = "0, 1, 2.3\n4, 5, 6.7"
|
|
1488
|
+
mtest = np.ndfromtxt(TextIO(data),
|
|
1489
|
+
delimiter=",", dtype=None, defaultfmt="f%02i")
|
|
1490
|
+
ctrl = np.array([(0, 1, 2.3), (4, 5, 6.7)],
|
|
1491
|
+
dtype=[("f00", int), ("f01", int), ("f02", float)])
|
|
1492
|
+
assert_equal(mtest, ctrl)
|
|
1493
|
+
|
|
1494
|
+
def test_single_dtype_wo_names(self):
|
|
1495
|
+
# Test single dtype w/o names
|
|
1496
|
+
data = "0, 1, 2.3\n4, 5, 6.7"
|
|
1497
|
+
mtest = np.ndfromtxt(TextIO(data),
|
|
1498
|
+
delimiter=",", dtype=float, defaultfmt="f%02i")
|
|
1499
|
+
ctrl = np.array([[0., 1., 2.3], [4., 5., 6.7]], dtype=float)
|
|
1500
|
+
assert_equal(mtest, ctrl)
|
|
1501
|
+
|
|
1502
|
+
def test_single_dtype_w_explicit_names(self):
|
|
1503
|
+
# Test single dtype w explicit names
|
|
1504
|
+
data = "0, 1, 2.3\n4, 5, 6.7"
|
|
1505
|
+
mtest = np.ndfromtxt(TextIO(data),
|
|
1506
|
+
delimiter=",", dtype=float, names="a, b, c")
|
|
1507
|
+
ctrl = np.array([(0., 1., 2.3), (4., 5., 6.7)],
|
|
1508
|
+
dtype=[(_, float) for _ in "abc"])
|
|
1509
|
+
assert_equal(mtest, ctrl)
|
|
1510
|
+
|
|
1511
|
+
def test_single_dtype_w_implicit_names(self):
|
|
1512
|
+
# Test single dtype w implicit names
|
|
1513
|
+
data = "a, b, c\n0, 1, 2.3\n4, 5, 6.7"
|
|
1514
|
+
mtest = np.ndfromtxt(TextIO(data),
|
|
1515
|
+
delimiter=",", dtype=float, names=True)
|
|
1516
|
+
ctrl = np.array([(0., 1., 2.3), (4., 5., 6.7)],
|
|
1517
|
+
dtype=[(_, float) for _ in "abc"])
|
|
1518
|
+
assert_equal(mtest, ctrl)
|
|
1519
|
+
|
|
1520
|
+
def test_easy_structured_dtype(self):
|
|
1521
|
+
# Test easy structured dtype
|
|
1522
|
+
data = "0, 1, 2.3\n4, 5, 6.7"
|
|
1523
|
+
mtest = np.ndfromtxt(TextIO(data), delimiter=",",
|
|
1524
|
+
dtype=(int, float, float), defaultfmt="f_%02i")
|
|
1525
|
+
ctrl = np.array([(0, 1., 2.3), (4, 5., 6.7)],
|
|
1526
|
+
dtype=[("f_00", int), ("f_01", float), ("f_02", float)])
|
|
1527
|
+
assert_equal(mtest, ctrl)
|
|
1528
|
+
|
|
1529
|
+
def test_autostrip(self):
|
|
1530
|
+
# Test autostrip
|
|
1531
|
+
data = "01/01/2003 , 1.3, abcde"
|
|
1532
|
+
kwargs = dict(delimiter=",", dtype=None)
|
|
1533
|
+
mtest = np.ndfromtxt(TextIO(data), **kwargs)
|
|
1534
|
+
ctrl = np.array([('01/01/2003 ', 1.3, ' abcde')],
|
|
1535
|
+
dtype=[('f0', '|S12'), ('f1', float), ('f2', '|S8')])
|
|
1536
|
+
assert_equal(mtest, ctrl)
|
|
1537
|
+
mtest = np.ndfromtxt(TextIO(data), autostrip=True, **kwargs)
|
|
1538
|
+
ctrl = np.array([('01/01/2003', 1.3, 'abcde')],
|
|
1539
|
+
dtype=[('f0', '|S10'), ('f1', float), ('f2', '|S5')])
|
|
1540
|
+
assert_equal(mtest, ctrl)
|
|
1541
|
+
|
|
1542
|
+
def test_replace_space(self):
|
|
1543
|
+
# Test the 'replace_space' option
|
|
1544
|
+
txt = "A.A, B (B), C:C\n1, 2, 3.14"
|
|
1545
|
+
# Test default: replace ' ' by '_' and delete non-alphanum chars
|
|
1546
|
+
test = np.genfromtxt(TextIO(txt),
|
|
1547
|
+
delimiter=",", names=True, dtype=None)
|
|
1548
|
+
ctrl_dtype = [("AA", int), ("B_B", int), ("CC", float)]
|
|
1549
|
+
ctrl = np.array((1, 2, 3.14), dtype=ctrl_dtype)
|
|
1550
|
+
assert_equal(test, ctrl)
|
|
1551
|
+
# Test: no replace, no delete
|
|
1552
|
+
test = np.genfromtxt(TextIO(txt),
|
|
1553
|
+
delimiter=",", names=True, dtype=None,
|
|
1554
|
+
replace_space='', deletechars='')
|
|
1555
|
+
ctrl_dtype = [("A.A", int), ("B (B)", int), ("C:C", float)]
|
|
1556
|
+
ctrl = np.array((1, 2, 3.14), dtype=ctrl_dtype)
|
|
1557
|
+
assert_equal(test, ctrl)
|
|
1558
|
+
# Test: no delete (spaces are replaced by _)
|
|
1559
|
+
test = np.genfromtxt(TextIO(txt),
|
|
1560
|
+
delimiter=",", names=True, dtype=None,
|
|
1561
|
+
deletechars='')
|
|
1562
|
+
ctrl_dtype = [("A.A", int), ("B_(B)", int), ("C:C", float)]
|
|
1563
|
+
ctrl = np.array((1, 2, 3.14), dtype=ctrl_dtype)
|
|
1564
|
+
assert_equal(test, ctrl)
|
|
1565
|
+
|
|
1566
|
+
def test_replace_space_known_dtype(self):
|
|
1567
|
+
# Test the 'replace_space' (and related) options when dtype != None
|
|
1568
|
+
txt = "A.A, B (B), C:C\n1, 2, 3"
|
|
1569
|
+
# Test default: replace ' ' by '_' and delete non-alphanum chars
|
|
1570
|
+
test = np.genfromtxt(TextIO(txt),
|
|
1571
|
+
delimiter=",", names=True, dtype=int)
|
|
1572
|
+
ctrl_dtype = [("AA", int), ("B_B", int), ("CC", int)]
|
|
1573
|
+
ctrl = np.array((1, 2, 3), dtype=ctrl_dtype)
|
|
1574
|
+
assert_equal(test, ctrl)
|
|
1575
|
+
# Test: no replace, no delete
|
|
1576
|
+
test = np.genfromtxt(TextIO(txt),
|
|
1577
|
+
delimiter=",", names=True, dtype=int,
|
|
1578
|
+
replace_space='', deletechars='')
|
|
1579
|
+
ctrl_dtype = [("A.A", int), ("B (B)", int), ("C:C", int)]
|
|
1580
|
+
ctrl = np.array((1, 2, 3), dtype=ctrl_dtype)
|
|
1581
|
+
assert_equal(test, ctrl)
|
|
1582
|
+
# Test: no delete (spaces are replaced by _)
|
|
1583
|
+
test = np.genfromtxt(TextIO(txt),
|
|
1584
|
+
delimiter=",", names=True, dtype=int,
|
|
1585
|
+
deletechars='')
|
|
1586
|
+
ctrl_dtype = [("A.A", int), ("B_(B)", int), ("C:C", int)]
|
|
1587
|
+
ctrl = np.array((1, 2, 3), dtype=ctrl_dtype)
|
|
1588
|
+
assert_equal(test, ctrl)
|
|
1589
|
+
|
|
1590
|
+
def test_incomplete_names(self):
|
|
1591
|
+
# Test w/ incomplete names
|
|
1592
|
+
data = "A,,C\n0,1,2\n3,4,5"
|
|
1593
|
+
kwargs = dict(delimiter=",", names=True)
|
|
1594
|
+
# w/ dtype=None
|
|
1595
|
+
ctrl = np.array([(0, 1, 2), (3, 4, 5)],
|
|
1596
|
+
dtype=[(_, int) for _ in ('A', 'f0', 'C')])
|
|
1597
|
+
test = np.ndfromtxt(TextIO(data), dtype=None, **kwargs)
|
|
1598
|
+
assert_equal(test, ctrl)
|
|
1599
|
+
# w/ default dtype
|
|
1600
|
+
ctrl = np.array([(0, 1, 2), (3, 4, 5)],
|
|
1601
|
+
dtype=[(_, float) for _ in ('A', 'f0', 'C')])
|
|
1602
|
+
test = np.ndfromtxt(TextIO(data), **kwargs)
|
|
1603
|
+
|
|
1604
|
+
def test_names_auto_completion(self):
|
|
1605
|
+
# Make sure that names are properly completed
|
|
1606
|
+
data = "1 2 3\n 4 5 6"
|
|
1607
|
+
test = np.genfromtxt(TextIO(data),
|
|
1608
|
+
dtype=(int, float, int), names="a")
|
|
1609
|
+
ctrl = np.array([(1, 2, 3), (4, 5, 6)],
|
|
1610
|
+
dtype=[('a', int), ('f0', float), ('f1', int)])
|
|
1611
|
+
assert_equal(test, ctrl)
|
|
1612
|
+
|
|
1613
|
+
def test_names_with_usecols_bug1636(self):
|
|
1614
|
+
# Make sure we pick up the right names w/ usecols
|
|
1615
|
+
data = "A,B,C,D,E\n0,1,2,3,4\n0,1,2,3,4\n0,1,2,3,4"
|
|
1616
|
+
ctrl_names = ("A", "C", "E")
|
|
1617
|
+
test = np.genfromtxt(TextIO(data),
|
|
1618
|
+
dtype=(int, int, int), delimiter=",",
|
|
1619
|
+
usecols=(0, 2, 4), names=True)
|
|
1620
|
+
assert_equal(test.dtype.names, ctrl_names)
|
|
1621
|
+
#
|
|
1622
|
+
test = np.genfromtxt(TextIO(data),
|
|
1623
|
+
dtype=(int, int, int), delimiter=",",
|
|
1624
|
+
usecols=("A", "C", "E"), names=True)
|
|
1625
|
+
assert_equal(test.dtype.names, ctrl_names)
|
|
1626
|
+
#
|
|
1627
|
+
test = np.genfromtxt(TextIO(data),
|
|
1628
|
+
dtype=int, delimiter=",",
|
|
1629
|
+
usecols=("A", "C", "E"), names=True)
|
|
1630
|
+
assert_equal(test.dtype.names, ctrl_names)
|
|
1631
|
+
|
|
1632
|
+
def test_fixed_width_names(self):
|
|
1633
|
+
# Test fix-width w/ names
|
|
1634
|
+
data = " A B C\n 0 1 2.3\n 45 67 9."
|
|
1635
|
+
kwargs = dict(delimiter=(5, 5, 4), names=True, dtype=None)
|
|
1636
|
+
ctrl = np.array([(0, 1, 2.3), (45, 67, 9.)],
|
|
1637
|
+
dtype=[('A', int), ('B', int), ('C', float)])
|
|
1638
|
+
test = np.ndfromtxt(TextIO(data), **kwargs)
|
|
1639
|
+
assert_equal(test, ctrl)
|
|
1640
|
+
#
|
|
1641
|
+
kwargs = dict(delimiter=5, names=True, dtype=None)
|
|
1642
|
+
ctrl = np.array([(0, 1, 2.3), (45, 67, 9.)],
|
|
1643
|
+
dtype=[('A', int), ('B', int), ('C', float)])
|
|
1644
|
+
test = np.ndfromtxt(TextIO(data), **kwargs)
|
|
1645
|
+
assert_equal(test, ctrl)
|
|
1646
|
+
|
|
1647
|
+
def test_filling_values(self):
|
|
1648
|
+
# Test missing values
|
|
1649
|
+
data = b"1, 2, 3\n1, , 5\n0, 6, \n"
|
|
1650
|
+
kwargs = dict(delimiter=",", dtype=None, filling_values=-999)
|
|
1651
|
+
ctrl = np.array([[1, 2, 3], [1, -999, 5], [0, 6, -999]], dtype=int)
|
|
1652
|
+
test = np.ndfromtxt(TextIO(data), **kwargs)
|
|
1653
|
+
assert_equal(test, ctrl)
|
|
1654
|
+
|
|
1655
|
+
def test_comments_is_none(self):
|
|
1656
|
+
# Github issue 329 (None was previously being converted to 'None').
|
|
1657
|
+
test = np.genfromtxt(TextIO("test1,testNonetherestofthedata"),
|
|
1658
|
+
dtype=None, comments=None, delimiter=',')
|
|
1659
|
+
assert_equal(test[1], b'testNonetherestofthedata')
|
|
1660
|
+
test = np.genfromtxt(TextIO("test1, testNonetherestofthedata"),
|
|
1661
|
+
dtype=None, comments=None, delimiter=',')
|
|
1662
|
+
assert_equal(test[1], b' testNonetherestofthedata')
|
|
1663
|
+
|
|
1664
|
+
def test_recfromtxt(self):
|
|
1665
|
+
#
|
|
1666
|
+
data = TextIO('A,B\n0,1\n2,3')
|
|
1667
|
+
kwargs = dict(delimiter=",", missing_values="N/A", names=True)
|
|
1668
|
+
test = np.recfromtxt(data, **kwargs)
|
|
1669
|
+
control = np.array([(0, 1), (2, 3)],
|
|
1670
|
+
dtype=[('A', np.int), ('B', np.int)])
|
|
1671
|
+
self.assertTrue(isinstance(test, np.recarray))
|
|
1672
|
+
assert_equal(test, control)
|
|
1673
|
+
#
|
|
1674
|
+
data = TextIO('A,B\n0,1\n2,N/A')
|
|
1675
|
+
test = np.recfromtxt(data, dtype=None, usemask=True, **kwargs)
|
|
1676
|
+
control = ma.array([(0, 1), (2, -1)],
|
|
1677
|
+
mask=[(False, False), (False, True)],
|
|
1678
|
+
dtype=[('A', np.int), ('B', np.int)])
|
|
1679
|
+
assert_equal(test, control)
|
|
1680
|
+
assert_equal(test.mask, control.mask)
|
|
1681
|
+
assert_equal(test.A, [0, 2])
|
|
1682
|
+
|
|
1683
|
+
def test_recfromcsv(self):
|
|
1684
|
+
#
|
|
1685
|
+
data = TextIO('A,B\n0,1\n2,3')
|
|
1686
|
+
kwargs = dict(missing_values="N/A", names=True, case_sensitive=True)
|
|
1687
|
+
test = np.recfromcsv(data, dtype=None, **kwargs)
|
|
1688
|
+
control = np.array([(0, 1), (2, 3)],
|
|
1689
|
+
dtype=[('A', np.int), ('B', np.int)])
|
|
1690
|
+
self.assertTrue(isinstance(test, np.recarray))
|
|
1691
|
+
assert_equal(test, control)
|
|
1692
|
+
#
|
|
1693
|
+
data = TextIO('A,B\n0,1\n2,N/A')
|
|
1694
|
+
test = np.recfromcsv(data, dtype=None, usemask=True, **kwargs)
|
|
1695
|
+
control = ma.array([(0, 1), (2, -1)],
|
|
1696
|
+
mask=[(False, False), (False, True)],
|
|
1697
|
+
dtype=[('A', np.int), ('B', np.int)])
|
|
1698
|
+
assert_equal(test, control)
|
|
1699
|
+
assert_equal(test.mask, control.mask)
|
|
1700
|
+
assert_equal(test.A, [0, 2])
|
|
1701
|
+
#
|
|
1702
|
+
data = TextIO('A,B\n0,1\n2,3')
|
|
1703
|
+
test = np.recfromcsv(data, missing_values='N/A',)
|
|
1704
|
+
control = np.array([(0, 1), (2, 3)],
|
|
1705
|
+
dtype=[('a', np.int), ('b', np.int)])
|
|
1706
|
+
self.assertTrue(isinstance(test, np.recarray))
|
|
1707
|
+
assert_equal(test, control)
|
|
1708
|
+
#
|
|
1709
|
+
data = TextIO('A,B\n0,1\n2,3')
|
|
1710
|
+
dtype = [('a', np.int), ('b', np.float)]
|
|
1711
|
+
test = np.recfromcsv(data, missing_values='N/A', dtype=dtype)
|
|
1712
|
+
control = np.array([(0, 1), (2, 3)],
|
|
1713
|
+
dtype=dtype)
|
|
1714
|
+
self.assertTrue(isinstance(test, np.recarray))
|
|
1715
|
+
assert_equal(test, control)
|
|
1716
|
+
|
|
1717
|
+
def test_max_rows(self):
|
|
1718
|
+
# Test the `max_rows` keyword argument.
|
|
1719
|
+
data = '1 2\n3 4\n5 6\n7 8\n9 10\n'
|
|
1720
|
+
txt = TextIO(data)
|
|
1721
|
+
a1 = np.genfromtxt(txt, max_rows=3)
|
|
1722
|
+
a2 = np.genfromtxt(txt)
|
|
1723
|
+
assert_equal(a1, [[1, 2], [3, 4], [5, 6]])
|
|
1724
|
+
assert_equal(a2, [[7, 8], [9, 10]])
|
|
1725
|
+
|
|
1726
|
+
# max_rows must be at least 1.
|
|
1727
|
+
assert_raises(ValueError, np.genfromtxt, TextIO(data), max_rows=0)
|
|
1728
|
+
|
|
1729
|
+
# An input with several invalid rows.
|
|
1730
|
+
data = '1 1\n2 2\n0 \n3 3\n4 4\n5 \n6 \n7 \n'
|
|
1731
|
+
|
|
1732
|
+
test = np.genfromtxt(TextIO(data), max_rows=2)
|
|
1733
|
+
control = np.array([[1., 1.], [2., 2.]])
|
|
1734
|
+
assert_equal(test, control)
|
|
1735
|
+
|
|
1736
|
+
# Test keywords conflict
|
|
1737
|
+
assert_raises(ValueError, np.genfromtxt, TextIO(data), skip_footer=1,
|
|
1738
|
+
max_rows=4)
|
|
1739
|
+
|
|
1740
|
+
# Test with invalid value
|
|
1741
|
+
assert_raises(ValueError, np.genfromtxt, TextIO(data), max_rows=4)
|
|
1742
|
+
|
|
1743
|
+
# Test with invalid not raise
|
|
1744
|
+
with warnings.catch_warnings():
|
|
1745
|
+
warnings.filterwarnings("ignore")
|
|
1746
|
+
|
|
1747
|
+
test = np.genfromtxt(TextIO(data), max_rows=4, invalid_raise=False)
|
|
1748
|
+
control = np.array([[1., 1.], [2., 2.], [3., 3.], [4., 4.]])
|
|
1749
|
+
assert_equal(test, control)
|
|
1750
|
+
|
|
1751
|
+
test = np.genfromtxt(TextIO(data), max_rows=5, invalid_raise=False)
|
|
1752
|
+
control = np.array([[1., 1.], [2., 2.], [3., 3.], [4., 4.]])
|
|
1753
|
+
assert_equal(test, control)
|
|
1754
|
+
|
|
1755
|
+
# Structured array with field names.
|
|
1756
|
+
data = 'a b\n#c d\n1 1\n2 2\n#0 \n3 3\n4 4\n5 5\n'
|
|
1757
|
+
|
|
1758
|
+
# Test with header, names and comments
|
|
1759
|
+
txt = TextIO(data)
|
|
1760
|
+
test = np.genfromtxt(txt, skip_header=1, max_rows=3, names=True)
|
|
1761
|
+
control = np.array([(1.0, 1.0), (2.0, 2.0), (3.0, 3.0)],
|
|
1762
|
+
dtype=[('c', '<f8'), ('d', '<f8')])
|
|
1763
|
+
assert_equal(test, control)
|
|
1764
|
+
# To continue reading the same "file", don't use skip_header or
|
|
1765
|
+
# names, and use the previously determined dtype.
|
|
1766
|
+
test = np.genfromtxt(txt, max_rows=None, dtype=test.dtype)
|
|
1767
|
+
control = np.array([(4.0, 4.0), (5.0, 5.0)],
|
|
1768
|
+
dtype=[('c', '<f8'), ('d', '<f8')])
|
|
1769
|
+
assert_equal(test, control)
|
|
1770
|
+
|
|
1771
|
+
def test_gft_using_filename(self):
|
|
1772
|
+
# Test that we can load data from a filename as well as a file object
|
|
1773
|
+
wanted = np.arange(6).reshape((2, 3))
|
|
1774
|
+
if sys.version_info[0] >= 3:
|
|
1775
|
+
# python 3k is known to fail for '\r'
|
|
1776
|
+
linesep = ('\n', '\r\n')
|
|
1777
|
+
else:
|
|
1778
|
+
linesep = ('\n', '\r\n', '\r')
|
|
1779
|
+
|
|
1780
|
+
for sep in linesep:
|
|
1781
|
+
data = '0 1 2' + sep + '3 4 5'
|
|
1782
|
+
f, name = mkstemp()
|
|
1783
|
+
# We can't use NamedTemporaryFile on windows, because we cannot
|
|
1784
|
+
# reopen the file.
|
|
1785
|
+
try:
|
|
1786
|
+
os.write(f, asbytes(data))
|
|
1787
|
+
assert_array_equal(np.genfromtxt(name), wanted)
|
|
1788
|
+
finally:
|
|
1789
|
+
os.close(f)
|
|
1790
|
+
os.unlink(name)
|
|
1791
|
+
|
|
1792
|
+
def test_gft_using_generator(self):
|
|
1793
|
+
# gft doesn't work with unicode.
|
|
1794
|
+
def count():
|
|
1795
|
+
for i in range(10):
|
|
1796
|
+
yield asbytes("%d" % i)
|
|
1797
|
+
|
|
1798
|
+
res = np.genfromtxt(count())
|
|
1799
|
+
assert_array_equal(res, np.arange(10))
|
|
1800
|
+
|
|
1801
|
+
def test_auto_dtype_largeint(self):
|
|
1802
|
+
# Regression test for numpy/numpy#5635 whereby large integers could
|
|
1803
|
+
# cause OverflowErrors.
|
|
1804
|
+
|
|
1805
|
+
# Test the automatic definition of the output dtype
|
|
1806
|
+
#
|
|
1807
|
+
# 2**66 = 73786976294838206464 => should convert to float
|
|
1808
|
+
# 2**34 = 17179869184 => should convert to int64
|
|
1809
|
+
# 2**10 = 1024 => should convert to int (int32 on 32-bit systems,
|
|
1810
|
+
# int64 on 64-bit systems)
|
|
1811
|
+
|
|
1812
|
+
data = TextIO('73786976294838206464 17179869184 1024')
|
|
1813
|
+
|
|
1814
|
+
test = np.ndfromtxt(data, dtype=None)
|
|
1815
|
+
|
|
1816
|
+
assert_equal(test.dtype.names, ['f0', 'f1', 'f2'])
|
|
1817
|
+
|
|
1818
|
+
assert test.dtype['f0'] == np.float
|
|
1819
|
+
assert test.dtype['f1'] == np.int64
|
|
1820
|
+
assert test.dtype['f2'] == np.integer
|
|
1821
|
+
|
|
1822
|
+
assert_allclose(test['f0'], 73786976294838206464.)
|
|
1823
|
+
assert_equal(test['f1'], 17179869184)
|
|
1824
|
+
assert_equal(test['f2'], 1024)
|
|
1825
|
+
|
|
1826
|
+
def test_gzip_load():
|
|
1827
|
+
a = np.random.random((5, 5))
|
|
1828
|
+
|
|
1829
|
+
s = BytesIO()
|
|
1830
|
+
f = gzip.GzipFile(fileobj=s, mode="w")
|
|
1831
|
+
|
|
1832
|
+
np.save(f, a)
|
|
1833
|
+
f.close()
|
|
1834
|
+
s.seek(0)
|
|
1835
|
+
|
|
1836
|
+
f = gzip.GzipFile(fileobj=s, mode="r")
|
|
1837
|
+
assert_array_equal(np.load(f), a)
|
|
1838
|
+
|
|
1839
|
+
|
|
1840
|
+
def test_gzip_loadtxt():
|
|
1841
|
+
# Thanks to another windows brokeness, we can't use
|
|
1842
|
+
# NamedTemporaryFile: a file created from this function cannot be
|
|
1843
|
+
# reopened by another open call. So we first put the gzipped string
|
|
1844
|
+
# of the test reference array, write it to a securely opened file,
|
|
1845
|
+
# which is then read from by the loadtxt function
|
|
1846
|
+
s = BytesIO()
|
|
1847
|
+
g = gzip.GzipFile(fileobj=s, mode='w')
|
|
1848
|
+
g.write(b'1 2 3\n')
|
|
1849
|
+
g.close()
|
|
1850
|
+
s.seek(0)
|
|
1851
|
+
|
|
1852
|
+
f, name = mkstemp(suffix='.gz')
|
|
1853
|
+
try:
|
|
1854
|
+
os.write(f, s.read())
|
|
1855
|
+
s.close()
|
|
1856
|
+
assert_array_equal(np.loadtxt(name), [1, 2, 3])
|
|
1857
|
+
finally:
|
|
1858
|
+
os.close(f)
|
|
1859
|
+
os.unlink(name)
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
def test_gzip_loadtxt_from_string():
|
|
1863
|
+
s = BytesIO()
|
|
1864
|
+
f = gzip.GzipFile(fileobj=s, mode="w")
|
|
1865
|
+
f.write(b'1 2 3\n')
|
|
1866
|
+
f.close()
|
|
1867
|
+
s.seek(0)
|
|
1868
|
+
|
|
1869
|
+
f = gzip.GzipFile(fileobj=s, mode="r")
|
|
1870
|
+
assert_array_equal(np.loadtxt(f), [1, 2, 3])
|
|
1871
|
+
|
|
1872
|
+
|
|
1873
|
+
def test_npzfile_dict():
|
|
1874
|
+
s = BytesIO()
|
|
1875
|
+
x = np.zeros((3, 3))
|
|
1876
|
+
y = np.zeros((3, 3))
|
|
1877
|
+
|
|
1878
|
+
np.savez(s, x=x, y=y)
|
|
1879
|
+
s.seek(0)
|
|
1880
|
+
|
|
1881
|
+
z = np.load(s)
|
|
1882
|
+
|
|
1883
|
+
assert_('x' in z)
|
|
1884
|
+
assert_('y' in z)
|
|
1885
|
+
assert_('x' in z.keys())
|
|
1886
|
+
assert_('y' in z.keys())
|
|
1887
|
+
|
|
1888
|
+
for f, a in z.items():
|
|
1889
|
+
assert_(f in ['x', 'y'])
|
|
1890
|
+
assert_equal(a.shape, (3, 3))
|
|
1891
|
+
|
|
1892
|
+
assert_(len(z.items()) == 2)
|
|
1893
|
+
|
|
1894
|
+
for f in z:
|
|
1895
|
+
assert_(f in ['x', 'y'])
|
|
1896
|
+
|
|
1897
|
+
assert_('x' in z.keys())
|
|
1898
|
+
|
|
1899
|
+
|
|
1900
|
+
def test_load_refcount():
|
|
1901
|
+
# Check that objects returned by np.load are directly freed based on
|
|
1902
|
+
# their refcount, rather than needing the gc to collect them.
|
|
1903
|
+
|
|
1904
|
+
f = BytesIO()
|
|
1905
|
+
np.savez(f, [1, 2, 3])
|
|
1906
|
+
f.seek(0)
|
|
1907
|
+
|
|
1908
|
+
gc.collect()
|
|
1909
|
+
n_before = len(gc.get_objects())
|
|
1910
|
+
np.load(f)
|
|
1911
|
+
n_after = len(gc.get_objects())
|
|
1912
|
+
|
|
1913
|
+
assert_equal(n_before, n_after)
|
|
1914
|
+
|
|
1915
|
+
if __name__ == "__main__":
|
|
1916
|
+
run_module_suite()
|