hyb
2025-12-23 10f3a1daddfbc7fa3dd2069197d83e8b6ef19176
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
Ë
oñúh–¢ãóJ—ddlmZddlmZddlZddlZddlmZmZddlm    Z
ejd«d„Z ejd„«ZGd„d    «ZGd
„d «ZGd „d «ZGd„d«ZGd„d«ZGd„d«ZGd„d«ZGd„d«ZGd„d«Zy)é)Údatetime)ÚdedentN)Ú    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 úXH:\Change_password\venv_build\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
gd hd £d
d    d œg«d„«Z d„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    |d¬«5}|j«|j «k(sJ‚    ddd«ddd«y#1swYŒxYw#1swYyxYw©Nu
außgangenrrr©rr r!r"r#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Ô /ܐd WÔ-ð 1°Ø—{‘{“}¨¯©«Ò0Ð0Ñ0÷ 1÷    1ð    1÷ 1ð 1ú÷    1ð    1ús#£!BÁ$A:Á)BÁ:B    Á?BÂBcó —tdgg«}tjd«5}|j|«t    |d¬«5}|j«|j «k(sJ‚    ddd«ddd«y#1swYŒxYw#1swYyxYwr+r,r-s    r Ú+test_to_latex_to_file_utf8_without_encodingz7TestToLatex.test_to_latex_to_file_utf8_without_encoding/s€ä ˜Ð(Ð)Ó *ˆÜ _‰_˜ZÓ (ð    1¨DØ K‰K˜Ô ܐd WÔ-ð 1°Ø—{‘{“}¨¯©«Ò0Ð0Ñ0÷ 1÷    1ð    1÷ 1ð 1ú÷    1ð    1ús#£BÁ$A8Á'BÁ8B    Á=BÂB có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%r.ÚresultÚexpecteds    r Ú test_to_latex_tabular_with_indexz,TestToLatex.test_to_latex_tabular_with_index7sC€Ü ˜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}
            r4r5s    r Ú#test_to_latex_tabular_without_indexz/TestToLatex.test_to_latex_tabular_without_indexHsH€Ü ˜a ˜V¨4°¨,Ñ7Ó 8ˆØ—‘ 5Ó)ˆÜð     ó 
ˆð˜Ò!Ð!Ñ!r Úbad_column_formatég333333ó?ÚlÚr)r@Úc>rAr?r@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=r.Úmsgs    r Útest_to_latex_bad_column_formatz+TestToLatex.test_to_latex_bad_column_formatYsR€ô
˜a ˜V¨4°¨,Ñ7Ó 8ˆØ7ˆÜ ]‰]œ:¨SÔ 1ñ    9Ø K‰KÐ&7ˆKÔ 8÷    9÷    9ñ    9ús °A Á Acó(—|jd¬«y)NÚlcrrE©r")r%r&s  r Ú&test_to_latex_column_format_just_worksz2TestToLatex.test_to_latex_column_format_just_workscs€à×Ѩ5ÐÕ1r cóp—tddgddgdœ«}|jd¬«}td«}||k(sJ‚y)    NrrrrrrNrEzÖ
            \begin{tabular}{lcr}
            \toprule
             & a & b \\
            \midrule
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \bottomrule
            \end{tabular}
            r4r5s    r Útest_to_latex_column_formatz'TestToLatex.test_to_latex_column_formatgsH€Ü ˜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%Úserr6r7s    r Ú%test_to_latex_float_format_object_colz1TestToLatex.test_to_latex_float_format_object_colxsF€äf˜fÐ%Ó&ˆØ—‘¨9×+;Ñ+;Ó<ˆÜð     ó 
ˆð˜Ò!Ð!Ñ!r có\—t«}|j«}td«}||k(sJ‚y)Nzˆ
            \begin{tabular}{l}
            \toprule
            \midrule
            \bottomrule
            \end{tabular}
            r4r5s    r Útest_to_latex_empty_tabularz'TestToLatex.test_to_latex_empty_tabularŠs3€Ü ‹[ˆØ—‘“ˆÜð ó
ˆð˜Ò!Ð!Ñ!r cób—tgd¢«}|j«}td«}||k(sJ‚y)N©rrrAzÜ
            \begin{tabular}{ll}
            \toprule
             & 0 \\
            \midrule
            0 & a \\
            1 & b \\
            2 & c \\
            \bottomrule
            \end{tabular}
            )rr"r )r%Úsr6r7s    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 r5s    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@)rcÚageÚheightznStarting with pandas version 3.0 all arguments of to_latex except for the argument 'buf' will be keyword-only.rC)rr Úassert_produces_warningÚ FutureWarningr")r%r.rKs   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)r/r1r8r<rHÚmarkÚ parametrizerLrPrRrYr[r_rdrnrr r rr s}„ò:ò 1ò1ò"ò""ð" ‡[[×ÑØØ    
ˆC#s˜ZªÀÈ#Ñ:NÐOóñ9ó    ð9ò 2ò"ò""ò$ "ò"ò$"ó&$r rc ó—eZdZd„Zd„Zd„Zejjde    dddgi«dfe    ddgdd    gd
œ«dfe    ddgdd    gd d 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}
            r4r5s    r Útest_to_latex_empty_longtablez2TestToLatexLongtable.test_to_latex_empty_longtableÏs8€Ü ‹[ˆØ—‘ tÓ,ˆÜð ó
ˆð$˜Ò!Ð!Ñ!r cóp—tddgddgdœ«}|jd¬«}td«}||k(sJ‚y)    NrrrrrTrwaÝ
            \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}
            r4r5s    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;rxaÎ
            \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}
            r4r5s    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{ú}rO)r%r.Úexpected_numberr6s    r Ú.test_to_latex_longtable_continued_on_next_pagezCTestToLatexLongtable.test_to_latex_longtable_continued_on_next_pages.€ð—‘ 5°DÓ9ˆØ  Р1°Ð4¸Ñ>Ð>Ñ>r N) rorprqryr{r~rHrrrsrr…rr r ruruÎs‹„ò"ò."ò6"ð6 ‡[[×ÑØá ˜˜a ˜V}Ó % qÐ )Ù ˜a ˜V¨1¨a¨&Ñ1Ó 2°AÐ 6Ù ˜a ˜V¨1¨a¨&¸¸1°vÑ>Ó ?ÀÐ Cð    
óñ?óñ?r rucó|—eZdZd„Zd„Zd„Zd„Zejjddgdfdd    d
g«d „«Z
d „Z y )ÚTestToLatexHeadercóp—tddgddgdœ«}|jd¬«}td«}||k(sJ‚y)    NrrrrrF©Úheaderz¾
            \begin{tabular}{lrl}
            \toprule
            \midrule
            0 & 1 & b1 \\
            1 & 2 & b2 \\
            \bottomrule
            \end{tabular}
            r4r5s    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}
            r4r5s    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}
            r4r5s    r Ú)test_to_latex_specified_header_with_indexz;TestToLatexHeader.test_to_latex_specified_header_with_indexLsL€ä ˜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}
            r4r5s    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 aliasesrCr‰rG)r%rŠÚ num_aliasesr.rKs     r Ú8test_to_latex_number_of_items_in_header_missmatch_raiseszJTestToLatexHeader.test_to_latex_number_of_items_in_header_missmatch_raisespsZ€ô˜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}
            r4r5s    r Útest_to_latex_decimalz'TestToLatexHeader.test_to_latex_decimal„sH€ä ˜c 3˜Z¨t°T¨lÑ;Ó <ˆØ—‘ SÓ)ˆÜð     ó 
ˆð˜Ò!Ð!Ñ!r N) rorprqr‹rr‘r“rHrrrsrœr¡rr r r‡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}
            r4r5s    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¥r3r4r5s    r Útest_to_latex_no_bold_rowsz*TestToLatexBold.test_to_latex_no_bold_rowsªsH€ä ˜a ˜V¨4°¨,Ñ7Ó 8ˆØ—‘ uÓ-ˆÜð     ó 
ˆð˜Ò!Ð!Ñ!r N)rorprqr§r©rr r r£r£—s „ò"ó$"r r£cóJ—eZdZejd„«Zejd„«Zejd„«Zejd„«Zejd„«Z    d„Z
d„Z d„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®r6r7s     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²r6r7s     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²r6r7s      r Útest_to_latex_caption_and_labelz7TestToLatexCaptionLabel.test_to_latex_caption_and_labelÿs6€à×"Ñ"¨=À Ð"Ó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°r6r7s      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²r6r7s       r Ú,test_to_latex_caption_shortcaption_and_labelzDTestToLatexCaptionLabel.test_to_latex_caption_shortcaption_and_label2sE€ð×"Ñ"Ø" 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 stringsrCr¸rG)r%rÌr.rKs    r Ú test_to_latex_bad_caption_raisesz8TestToLatexCaptionLabel.test_to_latex_bad_caption_raisesPsJ€ô˜˜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%rr6r7s    r Útest_to_latex_two_chars_captionz7TestToLatexCaptionLabel.test_to_latex_two_chars_captionas6€ð×"Ñ"¨4Ð"Ó0ˆÜð ó
ˆð˜Ò!Ð!Ñ!r cóN—|jd|¬«}td«}||k(sJ‚y)NT)rxr¹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´r6r7s     r Ú$test_to_latex_longtable_caption_onlyz<TestToLatexCaptionLabel.test_to_latex_longtable_caption_onlyvs9€ð×"Ñ"¨TÐ;LÐ"ÓMˆÜð ó
ˆð0˜Ò!Ð!Ñ!r cóN—|jd|¬«}td«}||k(sJ‚y)NT)rxr½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¶r6r7s     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©rxr¹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¶r6r7s      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¶r6r7s       r Ú6test_to_latex_longtable_caption_shortcaption_and_labelzNTestToLatexCaptionLabel.test_to_latex_longtable_caption_shortcaption_and_label×sH€ð×"Ñ"ØØ&¨ Ð6Ø!ð#ó
ˆô
ð ó
ˆð0˜Ò!Ð!Ñ!r N)rorprqrHÚfixturer®r°r²r´r¶r»r¾rÁrÃrÉrËrrrsrÐrÓrÕr×rÚrÜrr r r«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ár6r7s    r Útest_to_latex_escape_falsez,TestToLatexEscape.test_to_latex_escape_falses4€Ø ×)Ñ)°Ð)Ó7ˆÜð     ó 
ˆð˜Ò!Ð!Ñ!r cóV—|j«}|jd¬«}||k7sJ‚y)NTrãrO)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}
            r4r5s    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}
            r4)r%Úspecial_charactersr.r6r7s     r Ú"test_to_latex_escape_special_charsz4TestToLatexEscape.test_to_latex_escape_special_chars/sB€Ú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}
            r4r5s    r Ú;test_to_latex_specified_header_special_chars_without_escapezMTestToLatexEscape.test_to_latex_specified_header_special_chars_without_escapeIsN€ä ˜a ˜V¨4°¨,Ñ7Ó 8ˆØ—‘ U¨E N¸5ÓAˆÜð     ó 
ˆð˜Ò!Ð!Ñ!r N) rorprqrHrÝrárårérërørúrr r rß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}
            r4©r%Ú the_positionr.r6r7s     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)rxrÿaà
            \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}
            r4rs     r Ú test_to_latex_longtable_positionz4TestToLatexPosition.test_to_latex_longtable_positionqsO€Øˆ Ü ˜a ˜V¨4°¨,Ñ7Ó 8ˆØ—‘ t°lÓCˆÜð ó
ˆð,˜Ò!Ð!Ñ!r N)rorprqrrrr r rü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 r rzETestToLatexFormatters.test_to_latex_with_formatters.<locals>.<lambda>Ÿs€  1 U )¨1˜~€r có—d|d›S)NÚ0xrrrs r rzETestToLatexFormatters.test_to_latex_with_formatters.<locals>.<lambda> s€˜r ! A ˜Z€r có—d|›dS)Nú-rrs r rzETestToLatexFormatters.test_to_latex_with_formatters.<locals>.<lambda>¡s€ ! A 5¨ 
€r có —d|›S)Nzindex: rrs r rzETestToLatexFormatters.test_to_latex_with_formatters.<locals>.<lambda>¢s € W¨Q¨C =€r )r r rrÚ    __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%r.rr6r7s     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%.3frUz¶
            \begin{tabular}{lr}
            \toprule
             & x \\
            \midrule
            0 & 0.200 \\
            \bottomrule
            \end{tabular}
            r4r5s    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%.0frUz´
            \begin{tabular}{lr}
            \toprule
             & x \\
            \midrule
            0 & 100 \\
            \bottomrule
            \end{tabular}
            r4r5s    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%rVz›
            \begin{tabular}{llr}
            \toprule
             & Group & Data \\
            \midrule
            0 & A & 1.22 \\
            1 & A & zB \\
            \bottomrule
            \end{tabular}
            )rr"rWr )r%r%r.r6r7s     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)
rorprqr r"r$rHrrrsr,rr r rrŽs;„ò$"òL"ò""ð" ‡[[×јX¨¨u ~Ó6ñ"ó7ñ"r rc    óÌ—eZdZejd„«Zejd„«Zd„Zd„Zd„Z    d„Z
d„Z d„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)r1r)Úc2r)r2r)Ú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>r0N)rr5r7s  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)rrrAÚ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%r.Úobservedr7s    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_productrr5r"r )r%Úmir.rBr7s     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}
            r4r5s    r Ú'test_to_latex_multiindex_column_tabularz=TestToLatexMultiindex.test_to_latex_multiindex_column_tabular2s=€Ü ˜
 S EÐ*Ó +ˆØ—‘“ˆÜð     ó 
ˆð˜Ò!Ð!Ñ!r có|—tddgi«j}|jd¬«}td«}||k(sJ‚y)NrPrF©r?zº
            \begin{tabular}{lll}
            \toprule
             &  & 0 \\
            \midrule
            x & y & a \\
            \bottomrule
            \end{tabular}
            )rr6r"r r5s    r Ú&test_to_latex_multiindex_small_tabularz<TestToLatexMultiindex.test_to_latex_multiindex_small_tabularCsH€Ü ˜
 S EÐ*Ó +× -Ñ -ˆØ—‘ eÓ,ˆÜð ó
 
ˆð˜Ò!Ð!Ñ!r cóL—|jd¬«}td«}||k(sJ‚y)NFrTaj
            \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%r8r6r7s    r Ú test_to_latex_multiindex_tabularz6TestToLatexMultiindex.test_to_latex_multiindex_tabularSs4€Ø!×*Ñ*°EÐ*Ó:ˆÜð ó
ˆð˜Ò!Ð!Ñ!r cóŠ—|j}ddg|j_|jd¬«}t    d«}||k(sJ‚y)NrrFrTaŽ
            \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}
            )r6r+rGr"r )r%r8r.r6r7s     r Ú!test_to_latex_multicolumn_tabularz7TestToLatexMultiindex.test_to_latex_multicolumn_tabularfsL€à × Ñ ˆØ ˜:ˆ
‰
ÔØ—‘ eÓ,ˆÜð ó
ˆð˜Ò!Ð!Ñ!r có¦—tgd¢td«gd¢dœ«}|jddg«jd¬«}t    d    «}||k(sJ‚y)
N©rrrrÚabab©rrrr€r]rrFrTa
            \begin{tabular}{llr}
            \toprule
             &  & c \\
            a & b &  \\
            \midrule
            0 & a & 1 \\
             & b & 2 \\
            1 & a & 3 \\
             & b & 4 \\
            \bottomrule
            \end{tabular}
            )rrÆrAr"r r5s    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)rVrä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"rWr r5s    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¬«}t d«}||k(sJ‚y)N)r”rA)r•rAÚcolrIFrTzÙ
            \begin{tabular}{lll}
            \toprule
             &  & col \\
            \midrule
            A & c & NaN \\
            B & c & NaN \\
            \bottomrule
            \end{tabular}
            )rrJrKÚ from_tuplesr"r r5s    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:r6r7s    r Ú!test_to_latex_multicolumn_defaultz7TestToLatexMultiindex.test_to_latex_multicolumn_defaultÃs/€Ø"×+Ñ+Ó-ˆÜð ó
ˆð ˜Ò!Ð!Ñ!r cóN—|jdd¬«}td«}||k(sJ‚y)NFr?)Ú 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ºrhs    r Útest_to_latex_multicolumn_falsez5TestToLatexMultiindex.test_to_latex_multicolumn_false×s7€Ø"×+Ñ+¸ÐRUÐ+ÓVˆÜð ó
ˆð ˜Ò!Ð!Ñ!r có`—|jjd¬«}td«}||k(sJ‚y)NTrTaó
            \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}
            )r6r"r rhs    r Útest_to_latex_multirow_truez1TestToLatexMultiindex.test_to_latex_multirow_trueës:€Ø"×$Ñ$×-Ñ-°tÐ-Ó<ˆÜð ó
ˆð$˜Ò!Ð!Ñ!r cóš—|jj|_|jjddd¬«}td«}||k(sJ‚y)NTrA)r?rkrla=
            \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}
            )r6r;r"r rhs    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)Nrrrr€rHrIc3ó(K—|]
}|xsd–—Œ y­w)rENr)Ú.0Úns  r ú    <genexpr>zGTestToLatexMultiindex.test_to_latex_multiindex_names.<locals>.<genexpr>(sèø€Ò1 a˜!š'˜r›'Ñ1ùs‚rz & z &  &  &  &  \\
rEFrTa
\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}
) rJrKrLrÚcopyrvrGÚtupleÚanyÚboolr"rÆ)r%rrrtrvrGrMr.ÚidxÚ    idx_namesÚ idx_names_rowrzÚ    col_namesrBr7s              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)Nrrrr€r>r]rrrFrTz¢
            \begin{tabular}{llr}
            \toprule
             &  & c \\
            a & b &  \\
            \midrule
            NaN & 2 & 4 \\
            z1.000000 & 3 & 5 \\
z\bottomrule
\end{tabular}
)rÚilocrAr"r )r%r…r.rBr7s     r Útest_to_latex_multiindex_nansz3TestToLatexMultiindex.test_to_latex_multiindex_nansAs•€ô˜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 rrrFrTzê
            \begin{tabular}{llr}
            \toprule
             &  & 2 \\
            0 & 1 &  \\
            \midrule
            1 & 2 & 3 \\
             & 2 & 3 \\
            \bottomrule
            \end{tabular}
            r@r5s    r Útest_to_latex_non_string_indexz4TestToLatexMultiindex.test_to_latex_non_string_indexZsP€ä š    { Q‘Ó '× 1Ñ 1°1°a°&Ó 9ˆØ—‘ eÓ,ˆÜð
ó 
ˆð˜Ò!Ð!Ñ!r có¾—tjjddggd¢ddgggd¢¬«}t|¬«}|j    d    d
¬ «}t d «}||k(sJ‚y) Ngrž)r
r    ržÚ0Ú1)ÚiÚval0Úval1rFr: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}
            )rJrKrLrr"r )r%rMr.r6r7s     r Ú!test_to_latex_multiindex_multirowz7TestToLatexMultiindex.test_to_latex_multiindex_multirowmsm€ä ]‰]× 'Ñ 'ؐ3ˆZš¨3°¨*Ð 5Ò=Rð(ó
ˆô˜RÔ  ˆØ—‘ d°5Ó9ˆÜð ó
ˆð8˜Ò!Ð!Ñ!r )rorprqrHrÝr8r:rCrNrRrUrWrYr^rbrfrirmrorqrrrsr„rˆrŠr‘rr r r.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ÚtextwraprrHÚpandasrJrrÚpandas._testingÚ_testingr Ú importorskipr rÝrrrur‡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