/usr/local/lib64/python3.6/site-packages/pandas/io/__pycache__
NameSizeModeActions
api.cpython-36.pyc10960644editdlrm
clipboards.cpython-36.pyc33920644editdlrm
common.cpython-36.pyc140640644editdlrm
date_converters.cpython-36.pyc19470644editdlrm
feather_format.cpython-36.pyc29360644editdlrm
gbq.cpython-36.pyc74590644editdlrm
html.cpython-36.pyc319770644editdlrm
orc.cpython-36.pyc18020644editdlrm
parquet.cpython-36.pyc95000644editdlrm
parsers.cpython-36.pyc882000644editdlrm
pickle.cpython-36.pyc56790644editdlrm
pytables.cpython-36.pyc1308050644editdlrm
spss.cpython-36.pyc13280644editdlrm
sql.cpython-36.pyc522830644editdlrm
stata.cpython-36.pyc975630644editdlrm
__init__.cpython-36.pyc1450644editdlrm
Edit: /usr/local/lib64/python3.6/site-packages/pandas/io/__pycache__/clipboards.cpython-36.pyc (3392B)
3 :%Eg@sLdZddlmZddlZddlmZddlmZmZd ddZ d d d Z dS)z io on the clipboard )StringION) ABCDataFrame) get_optionoption_context\s+c KsZ|jdd}|dk r0|jjdddkr0tddd lm}dd lm}|}y|j|j dpdt d }Wnt k r~YnX|dd j d dddd}dd|D}t |dkrt |dkr|jdkrd}|dkr|j ddkrd}t |dkr|j ddkrd|d<n(t |dkrB|j ddkrBtjd|t|fd|i|S)aj Read text from clipboard and pass to read_csv. Parameters ---------- sep : str, default '\s+' A string or regex delimiter. The default of '\s+' denotes one or more whitespace characters. **kwargs See read_csv for the full argument list. Returns ------- DataFrame A parsed DataFrame object. encodingzutf-8N-utf8z3reading from clipboard only supports utf-8 encodingr) clipboard_get)read_csvzdisplay.encodingi'  cSsh|]}|jjdqS) )lstripcount).0xr@/usr/local/lib64/python3.6/site-packages/pandas/io/clipboards.py :sz!read_clipboard..rZdelim_whitespacez\s+ZenginepythonczHread_clipboard with regex separator does not work properly with c enginesep)poplowerreplaceNotImplementedErrorpandas.io.clipboardr Zpandas.io.parsersr decodegetrAttributeErrorsplitlenwarningswarnr)rkwargsrr r textlinescountsrrrread_clipboard s,   "$ r,Tc Ks|jdd}|dk r0|jjdddkr0tddd lm}|dkrHd }|ry>|dkrZd }t}|j|f|dd ||j}||dSt k rt j d YqXn|dk rt j dt |t rtdd|jf|}WdQRXnt|}||dS)a Attempt to write text representation of object to the system clipboard The clipboard can be then pasted into Excel for example. Parameters ---------- obj : the object to write to the clipboard excel : boolean, defaults to True if True, use the provided separator, writing in a csv format for allowing easy pasting into excel. if False, write a string representation of the object to the clipboard sep : optional, defaults to tab other keywords are passed to to_csv Notes ----- Requirements for your platform - Linux: xclip, or xsel (with PyQt4 modules) - Windows: - OS X: rzutf-8Nrr r z&clipboard only supports utf-8 encodingr) clipboard_setTr)rrzAto_clipboard in excel mode requires a single character separator.z6to_clipboard with excel=False ignores the sep argumentzdisplay.max_colwidth)rrr ValueErrorr r-rZto_csvgetvalue TypeErrorr&r' isinstancerrZ to_stringstr) objexcelrr(rr-bufr)Zobjstrrrr to_clipboardNs2     r6)r)TN) __doc__iorr&Zpandas.core.dtypes.genericrZpandasrrr,r6rrrrs    D