/usr/lib64/python2.6/site-packages/numpy/lib
NameSizeModeActions
benchmarks/-0755rm
tests/-0755rm
arraysetops.py137040644editdlrm
arraysetops.pyc133800644editdlrm
arraysetops.pyo133800644editdlrm
arrayterator.py64370644editdlrm
arrayterator.pyc70220644editdlrm
arrayterator.pyo70220644editdlrm
financial.py208720644editdlrm
financial.pyc215460644editdlrm
financial.pyo215460644editdlrm
format.py193090644editdlrm
format.pyc172790644editdlrm
format.pyo172790644editdlrm
function_base.py1005240644editdlrm
function_base.pyc991690644editdlrm
function_base.pyo991690644editdlrm
getlimits.py87900644editdlrm
getlimits.pyc100530644editdlrm
getlimits.pyo100530644editdlrm
index_tricks.py267900644editdlrm
index_tricks.pyc280080644editdlrm
index_tricks.pyo280080644editdlrm
info.py62400644editdlrm
info.pyc64250644editdlrm
info.pyo64250644editdlrm
io.py532260644editdlrm
io.pyc441020644editdlrm
io.pyo441020644editdlrm
machar.py106580644editdlrm
machar.pyc86880644editdlrm
machar.pyo86880644editdlrm
polynomial.py355620644editdlrm
polynomial.pyc381390644editdlrm
polynomial.pyo381390644editdlrm
recfunctions.py320380644editdlrm
recfunctions.pyc294510644editdlrm
recfunctions.pyo294510644editdlrm
scimath.py139970644editdlrm
scimath.pyc158670644editdlrm
scimath.pyo158670644editdlrm
setup.py5880644editdlrm
setup.pyc9180644editdlrm
setup.pyo9180644editdlrm
setupscons.py4700644editdlrm
setupscons.pyc8240644editdlrm
setupscons.pyo8240644editdlrm
shape_base.py243870644editdlrm
shape_base.pyc252910644editdlrm
shape_base.pyo252910644editdlrm
stride_tricks.py39720644editdlrm
stride_tricks.pyc38630644editdlrm
stride_tricks.pyo38630644editdlrm
twodim_base.py229460644editdlrm
twodim_base.pyc254640644editdlrm
twodim_base.pyo254640644editdlrm
type_check.py170750644editdlrm
type_check.pyc183920644editdlrm
type_check.pyo183920644editdlrm
ufunclike.py54520644editdlrm
ufunclike.pyc63110644editdlrm
ufunclike.pyo63110644editdlrm
user_array.py74750644editdlrm
user_array.pyc157270644editdlrm
user_array.pyo157270644editdlrm
utils.py340340644editdlrm
utils.pyc304220644editdlrm
utils.pyo304220644editdlrm
_compiled_base.so197200755editdlrm
_datasource.py206380644editdlrm
_datasource.pyc209860644editdlrm
_datasource.pyo209860644editdlrm
_iotools.py277120644editdlrm
_iotools.pyc269160644editdlrm
_iotools.pyo269160644editdlrm
__init__.py9360644editdlrm
__init__.pyc10380644editdlrm
__init__.pyo10380644editdlrm
Edit: /usr/lib64/python2.6/site-packages/numpy/lib/io.pyo (44102B)
\Kc"@s'dddddddddd d d d d dgZddkZddkZddkZddkZddkZddkZddkl Z ddk l Z l Z ddklZddklZlZddklZlZlZlZlZlZlZlZlZlZeZeZ dZ!de"fdYZ#de"fdYZ$e%dZ dZ&dZ'dZ(e)de%e%d e%e*d!Z+d"d#d$Z,ddk-Z-d%Z.e)de%d d d e%d&e%e%e%e%e%e%e*e/d'e%e*e/e/d(Z0d)Z1d*Z2d+Z3d,Z4dS(-tsavetxttloadtxtt genfromtxtt ndfromtxtt mafromtxtt recfromtxtt recfromcsvtloadtloadstsavetsaveztpackbitst unpackbitst fromregext DataSourceiN(t itemgetter(RR(R(R R ( t LineSplittert NameValidatortStringConvertertConverterErrortConverterLockErrortConversionWarningt_is_string_likethas_nested_fieldst flatten_dtypet easy_dtypecCs~ddk}ddk}dd}d}t|to|i|}n|i|||_|i|||_|S(sXUse this factory to produce the class so that we can do a lazy import on gzip. iNicSs|djo|i|}n|djo tdn||ijoT|i||i}x%t|dD]}|idqpW|i|dndS(NiisIllegal argumenti(ii(toffsettIOErrortrewindtrangetread(tselfRtwhencetcountti((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pytseek$s     cSs|iS(N(R(R((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyttell4s(tgziptnewt isinstancetstrtGzipFiletinstancemethodR#R$(tfR%R&R#R$((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pytseek_gzip_factorys  tBagObjcBs eZdZdZdZRS(s BagObj(obj) Convert attribute lookups to getitems on the object passed in. Parameters ---------- obj : class instance Object on which attribute lookup is performed. Examples -------- >>> class BagDemo(object): ... def __getitem__(self, key): ... return key ... >>> demo_obj = BagDemo() >>> bagobj = np.lib.io.BagObj(demo_obj) >>> bagobj.some_item 'some_item' cCs ||_dS(N(t_obj(Rtobj((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyt__init__VscCs;yti|d|SWntj ot|nXdS(NR.(tobjectt__getattribute__tKeyErrortAttributeError(Rtkey((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyR2Xs(t__name__t __module__t__doc__R0R2(((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyR-?s tNpzFilecBsVeZdZdZdZdZdZdZdZdZ dZ RS( sX NpzFile(fid) A dictionary-like object with lazy-loading of files in the zipped archive provided on construction. `NpzFile` is used to load files in the NumPy ``.npz`` data archive format. It assumes that files in the archive have a ".npy" extension, other files are ignored. The arrays and file strings are lazily loaded on either getitem access using ``obj['key']`` or attribute lookup using ``obj.f.key``. A list of all files (without ".npy" extensions) can be obtained with ``obj.files`` and the ZipFile object itself using ``obj.zip``. Attributes ---------- files : list of str List of all files in the archive with a ".npy" extension. zip : ZipFile instance The ZipFile object initialized with the zipped archive. f : BagObj instance An object on which attribute can be performed as an alternative to getitem access on the `NpzFile` instance itself. Parameters ---------- fid : file or str The zipped archive to open. This is either a file-like object or a string containing the path to the archive. Examples -------- >>> from tempfile import TemporaryFile >>> outfile = TemporaryFile() >>> x = np.arange(10) >>> y = np.sin(x) >>> np.savez(outfile, x=x, y=y) >>> outfile.seek(0) >>> npz = np.load(outfile) >>> isinstance(npz, np.lib.io.NpzFile) True >>> npz.files ['y', 'x'] >>> npz['x'] # getitem access array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) >>> npz.f.x # attribute lookup array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) cCsddk}|i|}|i|_g|_xI|iD]>}|ido|ii|d q=|ii|q=W||_t||_ dS(Nis.npyi( tzipfiletZipFiletnamelistt_filestfilestendswithtappendtzipR-R+(RtfidR:t_ziptx((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyR0s    cCsd}||ijo d}n%||ijod}|d7}n|oJ|ii|}|itioti|}ti |S|Snt d|dS(Niis.npys%s is not a file in the archive( R=R>RARt startswithtformatt MAGIC_PREFIXt cStringIOtStringIOt read_arrayR3(RR5tmembertbytestvalue((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyt __getitem__s  cCs t|iS(N(titerR>(R((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyt__iter__scCs,g}|iD]}||||fq~S(sV Return a list of tuples, with each tuple (filename, array in file). (R>(Rt_[1]R+((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pytitemssccs'x |iD]}|||fVq WdS(s8Generator that returns tuples (filename, array in file).N(R>(RR+((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyt iteritemss cCs|iS(s4Return files in the archive with a ".npy" extension.(R>(R((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pytkeysscCs |iS(s1Return an iterator over the files in the archive.(RP(R((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pytiterkeysscCs|ii|S(N(R>t __contains__(RR5((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyRVs( R6R7R8R0RNRPRRRSRTRURV(((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyR9^s4       cCsddk}t|tot|d}n*t||iot|}n|}d}tti}|i |}|i | d|i |o t |S|tijo,|oti |d|Sti|Sn,yt|SWntdt|nXdS(sF Load a pickled, ``.npy``, or ``.npz`` binary file. Parameters ---------- file : file-like object or string The file to read. It must support ``seek()`` and ``read()`` methods. If the filename extension is ``.gz``, the file is first decompressed. mmap_mode: {None, 'r+', 'r', 'w+', 'c'}, optional If not None, then memory-map the file, using the given mode (see `numpy.memmap`). The mode has no effect for pickled or zipped files. A memory-mapped array is stored on disk, and not directly loaded into memory. However, it can be accessed and sliced like any ndarray. Memory mapping is especially useful for accessing small fragments of large files without reading the entire file into memory. Returns ------- result : array, tuple, dict, etc. Data stored in the file. Raises ------ IOError If the input file does not exist or cannot be read. See Also -------- save, savez, loadtxt memmap : Create a memory-map to an array stored in a file on disk. Notes ----- - If the file contains pickle data, then whatever is stored in the pickle is returned. - If the file is a ``.npy`` file, then an array is returned. - If the file is a ``.npz`` file, then a dictionary-like object is returned, containing ``{filename: array}`` key-value pairs, one for each file in the archive. Examples -------- Store data to disk, and load it again: >>> np.save('/tmp/123', np.array([[1, 2, 3], [4, 5, 6]])) >>> np.load('/tmp/123.npy') array([[1, 2, 3], [4, 5, 6]]) Mem-map the stored array, and then access the second row directly from disk: >>> X = np.load('/tmp/123.npy', mmap_mode='r') >>> X[1, :] memmap([4, 5, 6]) iNtrbsPKitmodes'Failed to interpret file %s as a pickle(R%R't basestringt_fileR)R,tlenRFRGRR#RER9t open_memmapRJt_cloadRtrepr(tfilet mmap_modeR%RBt _ZIP_PREFIXtNtmagic((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyRs*<  cCsjt|to1|idp|d}nt|d}n|}ti|}ti||dS(s% Save an array to a binary file in NumPy ``.npy`` format. Parameters ---------- file : file or string File or filename to which the data is saved. If the filename does not already have a ``.npy`` extension, it is added. arr : array_like Array data to be saved. See Also -------- savez : Save several arrays into a ``.npz`` compressed archive savetxt, load Notes ----- For a description of the ``.npy`` format, see `format`. Examples -------- >>> from tempfile import TemporaryFile >>> outfile = TemporaryFile() >>> x = np.arange(10) >>> np.save(outfile, x) >>> outfile.seek(0) # only necessary in this example (with tempfile) >>> np.load(outfile) array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) s.npytwbN(R'RYR?topentnpt asanyarrayRFt write_array(R_tarrRB((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyR /s"cOsddk}ddk}t|to"|idp|d}qJn|}xRt|D]D\}}d|}||ijotd|n|||>> from tempfile import TemporaryFile >>> outfile = TemporaryFile() >>> x = np.arange(10) >>> y = np.sin(x) Using `savez` with \*args, the arrays are saved with default names. >>> np.savez(outfile, x, y) >>> outfile.seek(0) # only necessary in this example (with tempfile) >>> npz = np.load(outfile) >>> npz.files ['arr_1', 'arr_0'] >>> npz['arr_0'] array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) Using `savez` with \*\*kwds, the arrays are saved with the keyword names. >>> outfile = TemporaryFile() >>> np.savez(outfile, x=x, y=y) >>> outfile.seek(0) >>> npz = np.load(outfile) >>> npz.files ['y', 'x'] >>> npz['x'] array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]) iNs.npzsarr_%ds,Cannot use un-named variables and keyword %sRXtwtsuffixs -numpy.npys.npyRdtarcname(R:ttempfileR'RYR?t enumerateRTt ValueErrorR;tmkstemptostcloseRSReRFRhRfRgtNonetwritetremove(R_targstkwdsR:RmtnamedictR"tvalR5RAtfdttmpfiletfnameRB((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyR [s:C        cCsw|i}t|tiodSt|tiodSt|tiotSt|tiotStSdS(NcSstt|S((tbooltint(RD((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pytscSstt|S((R~tfloat(RD((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyRs( ttypet issubclassRftbool_tintegertfloatingRtcomplexR((tdtypettyp((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyt_getconvs t#ic s|}|dj ot|}nt} t|oqt} |idoddk} t|} q|idoddk} | i |} qt |} n't |do |} n t dg} fdfd}z8t i|}t|}xt|D]}| iqWd}xA|p9| i}|d jotd n||}q<Wt|p|}|}t|d jo+g}|D]}|t|q~}n(g}t|D] }||q~}xb|phiD]M\}}|o0y|i|}WqXt j o qqXXn|||>> from StringIO import StringIO # StringIO behaves like a file object >>> c = StringIO("0 1\n2 3") >>> np.loadtxt(c) array([[ 0., 1.], [ 2., 3.]]) >>> d = StringIO("M 21 72\nF 35 58") >>> np.loadtxt(d, dtype={'names': ('gender', 'age', 'weight'), ... 'formats': ('S1', 'i4', 'f4')}) array([('M', 21, 72.0), ('F', 35, 58.0)], dtype=[('gender', '|S1'), ('age', '>> c = StringIO("1,0,2\n3,0,4") >>> x, y = np.loadtxt(c, delimiter=',', usecols=(0, 2), unpack=True) >>> x array([ 1., 3.]) >>> y array([ 2., 4.]) s.gziNs.bz2treadlines%fname must be a string or file handlecs|idjo!|igtti|iSg}x=|iD]2}|i|\}}|}|i|qAW|SdS(sUnpack a structured data-type.N( tnamesRstbaseR~Rftprodtshapetfieldstextend(tdtttypestfieldttpRLtflat_dt(R(s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyR/s!  cs6|idi}|o|iSgSdS(s1Chop off comments, strip, and split at delimiter.iN(tsplittstrip(tline(t delimitertcomments(s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyt split_line>sts-End-of-file reached before encountering data.iiR("RstlisttFalseRtTrueR?R%R,tbz2tBZ2FileR_thasattrRoRfRRtxrangeRRR[RStindexRnt itertoolstchainR@ttupleRARrtarraytviewt TypeErrortsqueezetT( R|RRRt converterstskiprowstusecolstunpacktuser_converterstisstringR%tfhRtXRtdefconvR"t first_valst first_lineRbt dtype_typesRQRt_[2]tconvRtvalst_[3]t_[4]Ryt_[5]tt((RRRs2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyRsE           +'    )K?s%.18et c Cst|oE|ido"ddk}|i|d}qxt|d}n't|do |}n tdti|}|i djoE|i i djoti |i}d}qt|i i}n|id}t|ttfjo@t||jotd t|n|i|}n~t|tjoj|id djo |g|}|i|}q|id |jotd |q|}nx)|D]!}|i|t|d qWdS( s Save an array to a text file. Parameters ---------- fname : filename or file handle If the filename ends in ``.gz``, the file is automatically saved in compressed gzip format. `loadtxt` understands gzipped files transparently. X : array_like Data to be saved to a text file. fmt : str or sequence of strs A single format (%10.5f), a sequence of formats, or a multi-format string, e.g. 'Iteration %d -- %10.5f', in which case `delimiter` is ignored. delimiter : str Character separating columns. See Also -------- save : Save an array to a binary file in NumPy ``.npy`` format savez : Save several arrays into a ``.npz`` compressed archive Notes ----- Further explanation of the `fmt` parameter (``%[flag]width[.precision]specifier``): flags: ``-`` : left justify ``+`` : Forces to preceed result with + or -. ``0`` : Left pad the number with zeros instead of space (see width). width: Minimum number of characters to be printed. The value is not truncated if it has more characters. precision: - For integer specifiers (eg. ``d,i,o,x``), the minimum number of digits. - For ``e, E`` and ``f`` specifiers, the number of digits to print after the decimal point. - For ``g`` and ``G``, the maximum number of significant digits. - For ``s``, the maximum number of characters. specifiers: ``c`` : character ``d`` or ``i`` : signed decimal integer ``e`` or ``E`` : scientific notation with ``e`` or ``E``. ``f`` : decimal floating point ``g,G`` : use the shorter of ``e,E`` or ``f`` ``o`` : signed octal ``s`` : string of characters ``u`` : unsigned decimal integer ``x,X`` : unsigned hexadecimal integer This explanation of ``fmt`` is not complete, for an exhaustive specification see [1]_. References ---------- .. [1] `Format Specification Mini-Language `_, Python Documentation. Examples -------- >>> savetxt('test.out', x, delimiter=',') # X is an array >>> savetxt('test.out', (x,y,z)) # x,y,z equal sized 1D arrays >>> savetxt('test.out', x, fmt='%1.4e') # use exponential notation s.gziNRdRjR#s%fname must be a string or file handleisfmt has wrong shape. %st%s'fmt has wrong number of %% formats. %ss (RR?R%ReR_RRoRftasarraytndimRRRst atleast_2dRR[tdescrRRRRR4R(tjoinR!Rt( R|RtfmtRR%RtncolRFtrow((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyRs<T        cCst|dpt|d}nt|dpti|}nt|tipti|}n|i|i}|oQt|dt  o<ti||i d}ti |d|}||_nti |d|}|S(s Construct an array from a text file, using regular expression parsing. The returned array is always a structured array, and is constructed from all matches of the regular expression in the file. Groups in the regular expression are converted to fields of the structured array. Parameters ---------- file : str or file File name or file object to read. regexp : str or regexp Regular expression used to parse the file. Groups in the regular expression correspond to fields in the dtype. dtype : dtype or list of dtypes Dtype for the structured array. Returns ------- output : ndarray The output array, containing the part of the content of `file` that was matched by `regexp`. `output` is always a structured array. Raises ------ TypeError When `dtype` is not a valid dtype for a structured array. See Also -------- fromstring, loadtxt Notes ----- Dtypes for structured arrays can be specified in several forms, but all forms specify at least the data type and field name. For details see `doc.structured_arrays`. Examples -------- >>> f = open('test.dat', 'w') >>> f.write("1312 foo\n1534 bar\n444 qux") >>> f.close() >>> regexp = r"(\d+)\s+(...)" # match [digits, whitespace, anything] >>> output = np.fromregex('test.dat', regexp, [('num', np.int64), ('key', 'S3')]) >>> output array([(1312L, 'foo'), (1534L, 'bar'), (444L, 'qux')], dtype=[('num', '>> output['num'] array([1312, 1534, 444], dtype=int64) RtrtmatchiR( RRetretcompileR'RfRtfindallRRRR(R_tregexpRtseqtnewdtypetoutput((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyR s7 Rsf%icm<sb|oddkl}l}n|ph}t|tp d}t|t|nt|toti i i |}n1t |dptdt|n|}t d|d|d|i}td | d |d |}|otid t|}nxt|D]|iqWd(}x|pw|i}|d jotdn| tjo1||jo d i|i|d}qn||}q;W| tjo,|di}||jo |d=qn| d(j o}y4g} | idD]}!| |!iq~ } Wq}tj o6yt| } Wqytj o| g} qyXq}Xnt| p|}"| tjo7|g}#|D]}!|#|!iq~#} d }n_t| o:|g}$| idD]}!|$|!iq~$} n| o|| } n|d(j o%t|d|d| }|i } n| d(j ot| } n| oxct!| D]U\}%t|%o| i"|%| to0y| i"Wq t'j o q q Xn8| o0y| i"Wq t'j o q q Xn|i/|>dtd| d| |=i,|>fq W|i/|=g}?|D]}!|?|!i0qx ~?}@gi,}A|og}B|Bi,}Cng}D|Di,}Ex7t!t1i2|g|D]\}F||F}3t|3}G|Gdjoq n| oVy)g}H| D]}!|H|3|!q2 ~H}3Wq t3j o|E|Gfq q Xn%|G|"jo|E|Gfq n|At(|3|oJ|Ct(g}It+|3| D]\}J}K|I|Ji|Kjq ~Iq q W|djo%| |o|B| }Bq5 n|d(joxt!|D]\}Lt4t5}My|Li6|MWqO t7j od}t1i8t5}Mxzt!|MD]g\}N}/y|Li9|/Wq t:t'fj o5|d7}||Nd||/f;}t:|q Xq WqO XqO Wnt|Ddjot}Od|"}P|djoX|O|8}Og}Q|DD]6\}R|Ojo|Q|P|d|Rfq q ~Q}n:g}S|DD]%\}R|S|P|d|Rfq ~S}t|oJ|i;dddi|}|ot'|qWti|t<q[n|o&t+fdt!|Dn#t+fdt!|D}T|d(jog}U|D]}>|U|>iq~U}Vg}Wt!|VD]3\}J|Jtd ti=fjo |Wqq~W}Xx2|XD]*d!t>fd"|TD|Vg}_t!|VD] \};|_|tiAfq(~_}]qn/t+| |V}\t+| tiAgt|V}]tiB|Td#|\}`|otiB|Bd#|]}aq{n| o|i o | |_ nt|8djod$d%|8Djo<tC|od&}tD|qtiB|Td#|}`nFtiB|Td#g}b|8D]}!|bd |!fq[~biE|}`|oatiB|Bd#ti$g}c|8D]}d|cd tiAfq~c}e||}]|eiE|]}aq{n|o t}fg}&xt!g}g|D]}>|g|>iq~gD]\}h|jo^|f|h|ijM}f|hti=jo$d!t>fd'|TD}hn|&i,d |hfq3|&i,d |fq3W|fp9t|&djoti$|&}qti$|h}qntiB|T|}`|o]|i o1g}i|i D]}!|i|!tiAfq6~i}]n tiA}]tiB|Bd#|]}an|o|`i$i oxt+| pd*|D]r\}j}>g}k|>i0D]$}!|!d jo|k|>|!qq~k} x(| D] }l|a|jc|`|j|ljO>> from StringIO import StringIO >>> import numpy as np Comma delimited file with mixed dtype >>> s = StringIO("1,1.3,abcde") >>> data = np.genfromtxt(s, dtype=[('myint','i8'),('myfloat','f8'), ('mystring','S5')], delimiter=",") >>> data array((1, 1.3, 'abcde'), dtype=[('myint', '>> s.seek(0) # needed for StringIO example only >>> data = np.genfromtxt(s, dtype=None, names = ['myint','myfloat','mystring'], delimiter=",") >>> data array((1, 1.3, 'abcde'), dtype=[('myint', '>> s.seek(0) >>> data = np.genfromtxt(s, dtype="i8,f8,S5", names=['myint','myfloat','mystring'], delimiter=",") >>> data array((1, 1.3, 'abcde'), dtype=[('myint', '>> s = StringIO("11.3abcde") >>> data = np.genfromtxt(s, dtype=None, names=['intvar','fltvar','strvar'], delimiter=[1,3,5]) >>> data array((1, 1.3, 'abcde'), dtype=[('intvar', 'The input should be a string or a filehandle. (got %s instead)RRt autostript excludelistt deletecharstcase_sensitivesFThe use of `skiprows` is deprecated. Please use `skip_header` instead.Rs-End-of-file reached before encountering data.iit,t defaultfmtRsHThe use of `missing` is deprecated. Please use `missing_values` instead.tmissing_valuestdefaultt flatten_basetlockeds0Converter #%i is locked and cannot be upgraded: s"(occurred line #%i for value '%s')s- Line #%%i (got %%i columns instead of %i)sSome errors were detected !s c3s:x3|],\}}t|itt|VqWdS(N(tmapt _loose_callR(t.0R"t converter(trows(s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pys 8s c3s:x3|],\}}t|itt|VqWdS(N(Rt _strict_callR(RR"R(R(s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pys ;s tSs|S%ic3s#x|]}t|VqWdS(N(R[(RR(R"(s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pys Gs RtOcssx|]}|iVqWdS(N(tchar(Rt_((s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pys ds s4Nested fields involving objects are not supported...c3s#x|]}t|VqWdS(N(R[(RR(R"(s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pys s N(((Itnumpy.maRRR'tdictRRRYRftlibt _datasourceReRRt _handymanRtwarningstwarntDeprecationWarningRRRsRRRRRR4RR[RRRRnRRRRRRRoRR(RRAR@RRtupdateRRRt IndexErrorRRt iterupgradeRtimaptupgradeRtinsertRtstring_tmaxtsett_checkedR}RRtNotImplementedErrorRt_maskRR(mR|RRRRt skip_headert skip_footerRtmissingRtfilling_valuesRRRRRRRRtusemasktlooset invalid_raiseRRRterrmsgtfhdRtvalidate_namest first_valuesRtfvalRQRtnbcolsRRtcurrentRRRtuser_missing_valuest_[6]R5Ryt_[7]tmissRMtentryt user_valuet_[8]tvaluestuser_filling_valuestnt_[9]tfillt dtype_flattzipitt_[10]Rt_[11]t uc_updateRt_[12]t miss_charstappend_to_rowstmaskstappend_to_maskstinvalidtappend_to_invalidRtnbvaluest_[13]t_[14]tvtmRtcurrent_columntjtnbrowsttemplatet_[15]tnbt_[16]tdatat_[17]t column_typest_[18]t strcolidxt_[19]tcRtddtypetmdtypet_[20]t_[21]Rt outputmaskt_[22]t_[23]Rtrowmaskst ishomogeneoust_[24]tttypet_[25]tnamet_[26]tmval((RR"s2/usr/lib64/python2.6/site-packages/numpy/lib/io.pyRisf           $   4 -  :        . - 0    +      0          ??8       $       )   A       "    G2   $0( 80;  6  ) +  $ 1  ;& cKst|dsV       F "y X , j    T     9