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
U
¬ý°dµáã@s¾ddlmZddlZddlZddlmZddlmZddlZddl    m
Z
ddl m Z ddl mZmZmZmZmZmZmZmZmZmZmZmZddlZddlmZdd    lmZdd
lm Z dd l!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(dd l)m*Z*m+Z+dd l,m-Z-ddl.m/Z/m0Z0ddl1m2Z2ddl3m4Z4m5Z5m6Z6m7Z7ddl8m9Z9ddl:m;Z;ddl<m=Z=ddl>m?Z?m@Z@mAZAmBZBddlCmDZDmEZEmFZFmGZGmHZHddlImJZJddlKmLZLde
d MeNe ƒ¡ddddZOedOdddddddddddddddddddddddddœd d!d"d!d#d$d%d&d'd'd(d)d*d*d*d+d,d-d.d/d.d0d1d2d3d4œd5d6„ƒZPedddddddddddddddddddddddddœd7d!d"d!d#d$d%d&d'd'd(d)d*d*d*d+d,d-d.d/d.d0d1d2d8d4œd9d6„ƒZPe0e;d:d;e/eOƒdPddddddddddddd<d<d=d=ejQddd>dddejQdœd?d!d"d!d#d$d%d&d'd'd(d)d*d*d*d+d,d-d.d/d.d0d1d2d@d4œdAd6„ƒƒZPGdBdC„dCejRdDZSe0e;d:d;GdEdF„dFejRdDƒZTdGZUdHZVeWeXeYeUeVfƒƒZZe0e;d:d;dQdId1d.dJœdKdL„ƒZ[GdMdN„dNƒZ\dS)Ré)Ú annotationsN)Úpartial)ÚBytesIO)Úfill)Ú TracebackType) ÚIOÚAnyÚCallableÚHashableÚIterableÚListÚLiteralÚMappingÚSequenceÚUnionÚcastÚoverload)Úconfig)Úlib)Ú STR_NA_VALUES)ÚDtypeArgÚ DtypeBackendÚFilePathÚIntStrTÚ
ReadBufferÚStorageOptionsÚWriteExcelBuffer)Ú get_versionÚimport_optional_dependency)ÚEmptyDataError)ÚAppenderÚdoc)Úcheck_dtype_backend)Úis_boolÚis_floatÚ
is_integerÚ is_list_like)Ú    DataFrame)Ú _shared_docs)ÚVersion)Ú    IOHandlesÚ
get_handleÚstringify_pathÚvalidate_header_arg)Úfill_mi_headerÚget_default_engineÚ
get_writerÚmaybe_convert_usecolsÚpop_header_name)Ú
TextParser)Úvalidate_integera
Read an Excel file into a pandas DataFrame.
 
Supports `xls`, `xlsx`, `xlsm`, `xlsb`, `odf`, `ods` and `odt` file extensions
read from a local filesystem or URL. Supports an option to read
a single sheet or a list of sheets.
 
Parameters
----------
io : str, bytes, ExcelFile, xlrd.Book, path object, or file-like object
    Any valid string path is acceptable. The string could be a URL. Valid
    URL schemes include http, ftp, s3, and file. For file URLs, a host is
    expected. A local file could be: ``file://localhost/path/to/table.xlsx``.
 
    If you want to pass in a path object, pandas accepts any ``os.PathLike``.
 
    By file-like object, we refer to objects with a ``read()`` method,
    such as a file handle (e.g. via builtin ``open`` function)
    or ``StringIO``.
sheet_name : str, int, list, or None, default 0
    Strings are used for sheet names. Integers are used in zero-indexed
    sheet positions (chart sheets do not count as a sheet position).
    Lists of strings/integers are used to request multiple sheets.
    Specify None to get all worksheets.
 
    Available cases:
 
    * Defaults to ``0``: 1st sheet as a `DataFrame`
    * ``1``: 2nd sheet as a `DataFrame`
    * ``"Sheet1"``: Load sheet with name "Sheet1"
    * ``[0, 1, "Sheet5"]``: Load first, second and sheet named "Sheet5"
      as a dict of `DataFrame`
    * None: All worksheets.
 
header : int, list of int, default 0
    Row (0-indexed) to use for the column labels of the parsed
    DataFrame. If a list of integers is passed those row positions will
    be combined into a ``MultiIndex``. Use None if there is no header.
names : array-like, default None
    List of column names to use. If file contains no header row,
    then you should explicitly pass header=None.
index_col : int, list of int, default None
    Column (0-indexed) to use as the row labels of the DataFrame.
    Pass None if there is no such column.  If a list is passed,
    those columns will be combined into a ``MultiIndex``.  If a
    subset of data is selected with ``usecols``, index_col
    is based on the subset.
 
    Missing values will be forward filled to allow roundtripping with
    ``to_excel`` for ``merged_cells=True``. To avoid forward filling the
    missing values use ``set_index`` after reading the data instead of
    ``index_col``.
usecols : str, list-like, or callable, default None
    * If None, then parse all columns.
    * If str, then indicates comma separated list of Excel column letters
      and column ranges (e.g. "A:E" or "A,C,E:F"). Ranges are inclusive of
      both sides.
    * If list of int, then indicates list of column numbers to be parsed
      (0-indexed).
    * If list of string, then indicates list of column names to be parsed.
    * If callable, then evaluate each column name against it and parse the
      column if the callable returns ``True``.
 
    Returns a subset of the columns according to behavior above.
dtype : Type name or dict of column -> type, default None
    Data type for data or columns. E.g. {{'a': np.float64, 'b': np.int32}}
    Use `object` to preserve data as stored in Excel and not interpret dtype.
    If converters are specified, they will be applied INSTEAD
    of dtype conversion.
engine : str, default None
    If io is not a buffer or path, this must be set to identify io.
    Supported engines: "xlrd", "openpyxl", "odf", "pyxlsb".
    Engine compatibility :
 
    - "xlrd" supports old-style Excel files (.xls).
    - "openpyxl" supports newer Excel file formats.
    - "odf" supports OpenDocument file formats (.odf, .ods, .odt).
    - "pyxlsb" supports Binary Excel files.
 
    .. versionchanged:: 1.2.0
        The engine `xlrd <https://xlrd.readthedocs.io/en/latest/>`_
        now only supports old-style ``.xls`` files.
        When ``engine=None``, the following logic will be
        used to determine the engine:
 
       - If ``path_or_buffer`` is an OpenDocument format (.odf, .ods, .odt),
         then `odf <https://pypi.org/project/odfpy/>`_ will be used.
       - Otherwise if ``path_or_buffer`` is an xls format,
         ``xlrd`` will be used.
       - Otherwise if ``path_or_buffer`` is in xlsb format,
         ``pyxlsb`` will be used.
 
         .. versionadded:: 1.3.0
       - Otherwise ``openpyxl`` will be used.
 
         .. versionchanged:: 1.3.0
 
converters : dict, default None
    Dict of functions for converting values in certain columns. Keys can
    either be integers or column labels, values are functions that take one
    input argument, the Excel cell content, and return the transformed
    content.
true_values : list, default None
    Values to consider as True.
false_values : list, default None
    Values to consider as False.
skiprows : list-like, int, or callable, optional
    Line numbers to skip (0-indexed) or number of lines to skip (int) at the
    start of the file. If callable, the callable function will be evaluated
    against the row indices, returning True if the row should be skipped and
    False otherwise. An example of a valid callable argument would be ``lambda
    x: x in [0, 2]``.
nrows : int, default None
    Number of rows to parse.
na_values : scalar, str, list-like, or dict, default None
    Additional strings to recognize as NA/NaN. If dict passed, specific
    per-column NA values. By default the following values are interpreted
    as NaN: 'z', 'éFz    )Úsubsequent_indentat'.
keep_default_na : bool, default True
    Whether or not to include the default NaN values when parsing the data.
    Depending on whether `na_values` is passed in, the behavior is as follows:
 
    * If `keep_default_na` is True, and `na_values` are specified, `na_values`
      is appended to the default NaN values used for parsing.
    * If `keep_default_na` is True, and `na_values` are not specified, only
      the default NaN values are used for parsing.
    * If `keep_default_na` is False, and `na_values` are specified, only
      the NaN values specified `na_values` are used for parsing.
    * If `keep_default_na` is False, and `na_values` are not specified, no
      strings will be parsed as NaN.
 
    Note that if `na_filter` is passed in as False, the `keep_default_na` and
    `na_values` parameters will be ignored.
na_filter : bool, default True
    Detect missing value markers (empty strings and the value of na_values). In
    data without any NAs, passing na_filter=False can improve the performance
    of reading a large file.
verbose : bool, default False
    Indicate number of NA values placed in non-numeric columns.
parse_dates : bool, list-like, or dict, default False
    The behavior is as follows:
 
    * bool. If True -> try parsing the index.
    * list of int or names. e.g. If [1, 2, 3] -> try parsing columns 1, 2, 3
      each as a separate date column.
    * list of lists. e.g.  If [[1, 3]] -> combine columns 1 and 3 and parse as
      a single date column.
    * dict, e.g. {{'foo' : [1, 3]}} -> parse columns 1, 3 as date and call
      result 'foo'
 
    If a column or index contains an unparsable date, the entire column or
    index will be returned unaltered as an object data type. If you don`t want to
    parse some cells as date just change their type in Excel to "Text".
    For non-standard datetime parsing, use ``pd.to_datetime`` after ``pd.read_excel``.
 
    Note: A fast-path exists for iso8601-formatted dates.
date_parser : function, optional
    Function to use for converting a sequence of string columns to an array of
    datetime instances. The default uses ``dateutil.parser.parser`` to do the
    conversion. Pandas will try to call `date_parser` in three different ways,
    advancing to the next if an exception occurs: 1) Pass one or more arrays
    (as defined by `parse_dates`) as arguments; 2) concatenate (row-wise) the
    string values from the columns defined by `parse_dates` into a single array
    and pass that; and 3) call `date_parser` once for each row using one or
    more strings (corresponding to the columns defined by `parse_dates`) as
    arguments.
 
    .. deprecated:: 2.0.0
       Use ``date_format`` instead, or read in as ``object`` and then apply
       :func:`to_datetime` as-needed.
date_format : str or dict of column -> format, default ``None``
   If used in conjunction with ``parse_dates``, will parse dates according to this
   format. For anything more complex,
   please read in as ``object`` and then apply :func:`to_datetime` as-needed.
 
   .. versionadded:: 2.0.0
thousands : str, default None
    Thousands separator for parsing string columns to numeric.  Note that
    this parameter is only necessary for columns stored as TEXT in Excel,
    any numeric columns will automatically be parsed, regardless of display
    format.
decimal : str, default '.'
    Character to recognize as decimal point for parsing string columns to numeric.
    Note that this parameter is only necessary for columns stored as TEXT in Excel,
    any numeric columns will automatically be parsed, regardless of display
    format.(e.g. use ',' for European data).
 
    .. versionadded:: 1.4.0
 
comment : str, default None
    Comments out remainder of line. Pass a character or characters to this
    argument to indicate comments in the input file. Any data between the
    comment string and the end of the current line is ignored.
skipfooter : int, default 0
    Rows at the end to skip (0-indexed).
{storage_options}
 
    .. versionadded:: 1.2.0
 
dtype_backend : {{"numpy_nullable", "pyarrow"}}, defaults to NumPy backed DataFrames
    Which dtype_backend to use, e.g. whether a DataFrame should have NumPy
    arrays, nullable dtypes are used for all dtypes that have a nullable
    implementation when "numpy_nullable" is set, pyarrow is used for all
    dtypes if "pyarrow" is set.
 
    The dtype_backends are still experimential.
 
    .. versionadded:: 2.0
 
Returns
-------
DataFrame or dict of DataFrames
    DataFrame from the passed in Excel file. See notes in sheet_name
    argument for more information on when a dict of DataFrames is returned.
 
See Also
--------
DataFrame.to_excel : Write DataFrame to an Excel file.
DataFrame.to_csv : Write DataFrame to a comma-separated values (csv) file.
read_csv : Read a comma-separated values (csv) file into DataFrame.
read_fwf : Read a table of fixed-width formatted lines into DataFrame.
 
Examples
--------
The file can be read using the file name as string or an open file object:
 
>>> pd.read_excel('tmp.xlsx', index_col=0)  # doctest: +SKIP
       Name  Value
0   string1      1
1   string2      2
2  #Comment      3
 
>>> pd.read_excel(open('tmp.xlsx', 'rb'),
...               sheet_name='Sheet3')  # doctest: +SKIP
   Unnamed: 0      Name  Value
0           0   string1      1
1           1   string2      2
2           2  #Comment      3
 
Index and header can be specified via the `index_col` and `header` arguments
 
>>> pd.read_excel('tmp.xlsx', index_col=None, header=None)  # doctest: +SKIP
     0         1      2
0  NaN      Name  Value
1  0.0   string1      1
2  1.0   string2      2
3  2.0  #Comment      3
 
Column types are inferred but can be explicitly specified
 
>>> pd.read_excel('tmp.xlsx', index_col=0,
...               dtype={{'Name': str, 'Value': float}})  # doctest: +SKIP
       Name  Value
0   string1    1.0
1   string2    2.0
2  #Comment    3.0
 
True, False, and NA values, and thousands separators have defaults,
but can be explicitly specified, too. Supply the values you would like
as strings or lists of strings!
 
>>> pd.read_excel('tmp.xlsx', index_col=0,
...               na_values=['string1', 'string2'])  # doctest: +SKIP
       Name  Value
0       NaN      1
1       NaN      2
2  #Comment      3
 
Comment lines in the excel input file can be skipped using the `comment` kwarg
 
>>> pd.read_excel('tmp.xlsx', index_col=0, comment='#')  # doctest: +SKIP
      Name  Value
0  string1    1.0
1  string2    2.0
2     None    NaN
.)ÚheaderÚnamesÚ    index_colÚusecolsÚdtypeÚengineÚ
convertersÚ true_valuesÚ false_valuesÚskiprowsÚnrowsÚ    na_valuesÚkeep_default_naÚ    na_filterÚverboseÚ parse_datesÚ date_parserÚ date_formatÚ    thousandsÚdecimalÚcommentÚ
skipfooterÚstorage_optionsÚ dtype_backendz    str | intúint | Sequence[int] | Nonezlist[str] | NonezHint | str | Sequence[int] | Sequence[str] | Callable[[str], bool] | NoneúDtypeArg | Nonez5Literal[('xlrd', 'openpyxl', 'odf', 'pyxlsb')] | Nonez0dict[str, Callable] | dict[int, Callable] | NoneúIterable[Hashable] | Noneú4Sequence[int] | int | Callable[[int], object] | Noneú
int | NoneÚboolúlist | dict | boolúCallable | lib.NoDefaultú dict[Hashable, str] | str | Noneú
str | NoneÚstrÚintrúDtypeBackend | lib.NoDefaultr')Ú
sheet_namer7r8r9r:r;r<r=r>r?r@rArCrDrErFrGrHrIrJrKrLrMrNÚreturncCsdS©N©©Úior\r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNr_r_úLd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\pandas/io/excel/_base.pyÚ
read_excelgs$rczlist[IntStrT] | Nonezdict[IntStrT, DataFrame]cCsdSr^r_r`r_r_rbrcŽs$rM©rMTFÚ.z str | int | list[IntStrT] | Nonez$DataFrame | dict[IntStrT, DataFrame]cCst|ƒd}t|tƒs*d}t|||d}n|r@||jkr@tdƒ‚z<|j||||||||    |
| | | |||||||||||d}W5|rŠ| ¡X|S)NFT)rMr<z_Engine should not be specified when passing an ExcelFile - ExcelFile already has the engine set)r\r7r8r9r:r;r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrN)r"Ú
isinstanceÚ    ExcelFiler<Ú
ValueErrorÚcloseÚparse)rar\r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNZ should_closeÚdatar_r_rbrcµsL$
ÿé
 
c@sFeZdZd;dddœdd„Zeejdd„ƒƒZejd    d
„ƒZdd œd d „Z    eejdd œdd„ƒƒZ
ejddœdd„ƒZ ejddœdd„ƒZ ejd<ddœdd„ƒZ dddœdd„Zddd œd!d"„Zd#ddd$œd%d&„Zd'd'd(ddd)œd*d+„Zd,d,dddddddddd-d-ejddd.dd,ejfd/d'd'd0d1d1d(dd2d3d4d5d6dd6dd7d8œd9d:„ZdS)=ÚBaseExcelReaderNrÚNone)rMr]cCsÀt|tƒrt|ƒ}t|ddid|_t|t|jfƒsFt|d|dd|_t|jj|jƒrb|jj|_    nZt
|jjdƒr´|jj  d¡z|  |jj¡|_    Wq¼t k
r°| ¡‚Yq¼Xntdƒ‚dS)    NÚmethod)ÚhandleÚ compressionÚrbF©rMZis_textÚreadrzCMust explicitly set engine if not passing in buffer or path for io.)rfÚbytesrr*ÚhandlesrgÚ_workbook_classr+roÚbookÚhasattrÚseekÚ load_workbookÚ    Exceptionrirh)ÚselfÚfilepath_or_bufferrMr_r_rbÚ__init__s2
ÿÿ 
ÿzBaseExcelReader.__init__cCsdSr^r_©r|r_r_rbrv%szBaseExcelReader._workbook_classcCsdSr^r_)r|r}r_r_rbrz*szBaseExcelReader.load_workbook©r]cCsFt|dƒr8t|jdƒr"|j ¡nt|jdƒr8|j ¡|j ¡dS)NrwriÚrelease_resources)rxrwrirrurr_r_rbri.s 
 
zBaseExcelReader.closez    list[str]cCsdSr^r_rr_r_rbÚ sheet_names;szBaseExcelReader.sheet_namesrY)ÚnamecCsdSr^r_©r|rƒr_r_rbÚget_sheet_by_name@sz!BaseExcelReader.get_sheet_by_namerZ)ÚindexcCsdSr^r_)r|r†r_r_rbÚget_sheet_by_indexDsz"BaseExcelReader.get_sheet_by_indexrS)ÚrowscCsdSr^r_)r|Úsheetrˆr_r_rbÚget_sheet_dataHszBaseExcelReader.get_sheet_data)r†r]cCs,t|jƒ}||kr(td|›d|›dƒ‚dS)NzWorksheet index z  is invalid, z worksheets found)Úlenr‚rh)r|r†Zn_sheetsr_r_rbÚraise_if_bad_sheet_by_indexLs
 
ÿz+BaseExcelReader.raise_if_bad_sheet_by_index)rƒr]cCs||jkrtd|›dƒ‚dS)NzWorksheet named 'z ' not found)r‚rhr„r_r_rbÚraise_if_bad_sheet_by_nameSs
z*BaseExcelReader.raise_if_bad_sheet_by_namer    )r@Ú rows_to_user]cCs.d}d}||kr*||ƒs |d7}|d7}q|S)aŸ
        Determine how many file rows are required to obtain `nrows` data
        rows when `skiprows` is a function.
 
        Parameters
        ----------
        skiprows : function
            The function passed to read_excel by the user.
        rows_to_use : int
            The number of rows that will be needed for the header and
            the data.
 
        Returns
        -------
        int
        rér_)r|r@rŽÚiZrows_used_so_farr_r_rbÚ_check_skiprows_funcWs
z$BaseExcelReader._check_skiprows_funcrOrR)r7r9r@rAr]cCsþ|dkr dS|dkrd}n2t|ƒr6tt|ƒ}d|}ntt|ƒ}d|d}t|ƒrz|dk    rztt|ƒ}t|ƒdkrz|d7}|dkrŠ||St|ƒr¨tt|ƒ}|||St|ƒrâddddœdd    „}tt|ƒ}| t||ƒ||¡St|ƒrú| |||¡SdS)
a
        If nrows specified, find the number of rows needed from the
        file, otherwise return None.
 
 
        Parameters
        ----------
        header : int, list of int, or None
            See read_excel docstring.
        index_col : int, list of int, or None
            See read_excel docstring.
        skiprows : list-like, int, callable, or None
            See read_excel docstring.
        nrows : int or None
            See read_excel docstring.
 
        Returns
        -------
        int or None
        NréÿÿÿÿrrZrT)r@Úxr]cSs||kSr^r_)r@r“r_r_rbÚf¦sz%BaseExcelReader._calc_rows.<locals>.f)    r%rrZrr&r‹r‘rÚcallable)r|r7r9r@rAZ header_rowsr”r_r_rbÚ
_calc_rowsts8
 
 
 
 
 
þzBaseExcelReader._calc_rowsrFreú(str | int | list[int] | list[str] | NonerPrQrTrUrVrWrXr[)r\r7r9r;r>r?r@rArErFrGrHrIrJrKrLrNc, s¬t|ƒtd|
ƒd}t|tƒr*|}d}n,|dkr>|j}d}nt|tƒrP|g}n|g}tttt    ttftt
  |¡  ¡ƒƒ}i}d}|D]ö}|}| r¦t d|›ƒt|tƒr¼| |¡}n
| |¡}| |||    |
¡}| ||¡}t|dƒrô| ¡t|ƒ}|stƒ||<qŠd}d}t|ƒrFt|tƒs0t‚d}t|ƒdkrFd}|r^ttt    |ƒd}d} |dk    r6t|ƒr6t|tƒs†t‚g} dgt|dƒ‰|D]”}!t|    ƒrÆt|    t    ƒs¾t‚|!|    7}!|!t|ƒdkrötd|!›d    t|ƒd›d
ƒ‚t||!ˆƒ\||!<‰|dk    r t||!|ƒ\}"}#|  |"¡q d}$|rÐ|sÐ|dk    rÐt|t    ƒrd|g‰nt|tƒstt‚|‰t|tƒsˆt‚t|ƒt|ƒkrÐ|t|ƒ}%‡‡fd d „t|%ƒDƒ}&t d d„|&Dƒƒ}$t|ƒr¨|dkrêd}'n"t|t    ƒrd|}'n dt!|ƒ}'|$r|'d7}'|'t|ƒkr¨t|tƒs8t‚|D]j}(||'|(})t"|'dt|ƒƒD]D}!||!|(dks†||!|(dkr”|)||!|(<n ||!|(})q^q<zjt#|f||||$||||    |
| d| ||||||||dœ|—Ž}*|*j$|
d||<| r||j% &| ¡||_%WqŠt'k
r2tƒ||<YqŠt(k
r€}+z0|+j)d›d|›df|+j)dd…˜|+_)|+‚W5d}+~+XYqŠXqŠ|dkr–tdƒ‚|r |S||SdS)NrAFTzReading sheet rirrz header index z exceeds maximum index z     of data.cs$g|]\}}ˆ|s|ˆkr|‘qSr_r_)Ú.0rr“©Z control_rowZindex_col_listr_rbÚ
<listcomp>-sþz)BaseExcelReader.parse.<locals>.<listcomp>css|]}|dkp|dkVqdS)ÚNr_)r˜r“r_r_rbÚ    <genexpr>2sz(BaseExcelReader.parse.<locals>.<genexpr>r›)r8r7r9Úhas_index_namesr;r>r?r@rArBZskip_blank_linesrFrGrHrIrJrKrLr:rN)rAz     (sheet: ú)zSheet name is an empty list)*r-r4rfÚlistr‚rYrrr rZÚdictÚfromkeysÚkeysÚprintr…r‡r–rŠrxrir1r'r&rÚAssertionErrorr‹r%rhr.r2ÚappendÚ    enumerateÚallÚmaxÚranger3rsÚcolumnsZ    set_namesrr{Úargs),r|r\r7r8r9r:r;r>r?r@rArBrErFrGrHrIrJrKrLrNÚkwdsZret_dictÚsheetsÚoutputZlast_sheetnameZ
asheetnamer‰Zfile_rows_neededrkZis_list_headerZis_len_one_list_headerÚ header_namesÚrowÚ header_nameÚ_rZpotential_index_namesZpotential_dataÚoffsetÚcolÚlastÚparserÚerrr_r™rbrj´sþ
 
 
(
 
 
 
 
 
 
ÿ
   þ
 
 
  $ÿëê
ÿ(
zBaseExcelReader.parse)N)N)Ú__name__Ú
__module__Ú __qualname__r~ÚpropertyÚabcÚabstractmethodrvrzrir‚r…r‡rŠrŒrr‘r–rÚ
no_defaultrjr_r_r_rbrlsTÿ 
 Bërl)Ú    metaclassc @sŽeZdZUdZded<ded<dDdd    d
d
d
dd d d ddœ
dd„ZdZeddœdd„ƒZeddœdd„ƒZ    ee
j ddœdd„ƒƒZ ee
j dd„ƒƒZ e
j dEd
dddddœd d!„ƒZe
j ddœd"d#„ƒZdFd    d
d
d
dd d
d$dd%œ    d&d'„Zeddœd(d)„ƒZeddœd*d+„ƒZeddœd,d-„ƒZddœd.d/„Zd
dd0œd1d2„Zd3dœd4d5„Zedd6d7œd8d9„ƒZddœd:d;„Zd<d=d>dd?œd@dA„ZddœdBdC„ZdS)GÚ ExcelWritera§
    Class for writing DataFrame objects into excel sheets.
 
    Default is to use:
 
    * `xlsxwriter <https://pypi.org/project/XlsxWriter/>`__ for xlsx files if xlsxwriter
      is installed otherwise `openpyxl <https://pypi.org/project/openpyxl/>`__
    * `odswriter <https://pypi.org/project/odswriter/>`__ for ods files
 
    See ``DataFrame.to_excel`` for typical usage.
 
    The writer should be used as a context manager. Otherwise, call `close()` to save
    and close any opened file handles.
 
    Parameters
    ----------
    path : str or typing.BinaryIO
        Path to xls or xlsx or ods file.
    engine : str (optional)
        Engine to use for writing. If None, defaults to
        ``io.excel.<extension>.writer``.  NOTE: can only be passed as a keyword
        argument.
    date_format : str, default None
        Format string for dates written into Excel files (e.g. 'YYYY-MM-DD').
    datetime_format : str, default None
        Format string for datetime objects written into Excel files.
        (e.g. 'YYYY-MM-DD HH:MM:SS').
    mode : {{'w', 'a'}}, default 'w'
        File mode to use (write or append). Append does not work with fsspec URLs.
    {storage_options}
 
        .. versionadded:: 1.2.0
 
    if_sheet_exists : {{'error', 'new', 'replace', 'overlay'}}, default 'error'
        How to behave when trying to write to a sheet that already
        exists (append mode only).
 
        * error: raise a ValueError.
        * new: Create a new sheet, with a name determined by the engine.
        * replace: Delete the contents of the sheet before writing to it.
        * overlay: Write contents to the existing sheet without removing the old
          contents.
 
        .. versionadded:: 1.3.0
 
        .. versionchanged:: 1.4.0
 
           Added ``overlay`` option
 
    engine_kwargs : dict, optional
        Keyword arguments to be passed into the engine. These will be passed to
        the following functions of the respective engines:
 
        * xlsxwriter: ``xlsxwriter.Workbook(file, **engine_kwargs)``
        * openpyxl (write mode): ``openpyxl.Workbook(**engine_kwargs)``
        * openpyxl (append mode): ``openpyxl.load_workbook(file, **engine_kwargs)``
        * odswriter: ``odf.opendocument.OpenDocumentSpreadsheet(**engine_kwargs)``
 
        .. versionadded:: 1.3.0
 
    Notes
    -----
    For compatibility with CSV writers, ExcelWriter serializes lists
    and dicts to strings before writing.
 
    Examples
    --------
    Default usage:
 
    >>> df = pd.DataFrame([["ABC", "XYZ"]], columns=["Foo", "Bar"])  # doctest: +SKIP
    >>> with pd.ExcelWriter("path_to_file.xlsx") as writer:
    ...     df.to_excel(writer)  # doctest: +SKIP
 
    To write to separate sheets in a single file:
 
    >>> df1 = pd.DataFrame([["AAA", "BBB"]], columns=["Spam", "Egg"])  # doctest: +SKIP
    >>> df2 = pd.DataFrame([["ABC", "XYZ"]], columns=["Foo", "Bar"])  # doctest: +SKIP
    >>> with pd.ExcelWriter("path_to_file.xlsx") as writer:
    ...     df1.to_excel(writer, sheet_name="Sheet1")  # doctest: +SKIP
    ...     df2.to_excel(writer, sheet_name="Sheet2")  # doctest: +SKIP
 
    You can set the date format or datetime format:
 
    >>> from datetime import date, datetime  # doctest: +SKIP
    >>> df = pd.DataFrame(
    ...     [
    ...         [date(2014, 1, 31), date(1999, 9, 24)],
    ...         [datetime(1998, 5, 26, 23, 33, 4), datetime(2014, 2, 28, 13, 5, 13)],
    ...     ],
    ...     index=["Date", "Datetime"],
    ...     columns=["X", "Y"],
    ... )  # doctest: +SKIP
    >>> with pd.ExcelWriter(
    ...     "path_to_file.xlsx",
    ...     date_format="YYYY-MM-DD",
    ...     datetime_format="YYYY-MM-DD HH:MM:SS"
    ... ) as writer:
    ...     df.to_excel(writer)  # doctest: +SKIP
 
    You can also append to an existing Excel file:
 
    >>> with pd.ExcelWriter("path_to_file.xlsx", mode="a", engine="openpyxl") as writer:
    ...     df.to_excel(writer, sheet_name="Sheet3")  # doctest: +SKIP
 
    Here, the `if_sheet_exists` parameter can be set to replace a sheet if it
    already exists:
 
    >>> with ExcelWriter(
    ...     "path_to_file.xlsx",
    ...     mode="a",
    ...     engine="openpyxl",
    ...     if_sheet_exists="replace",
    ... ) as writer:
    ...     df.to_excel(writer, sheet_name="Sheet1")  # doctest: +SKIP
 
    You can also write multiple DataFrames to a single sheet. Note that the
    ``if_sheet_exists`` parameter needs to be set to ``overlay``:
 
    >>> with ExcelWriter("path_to_file.xlsx",
    ...     mode="a",
    ...     engine="openpyxl",
    ...     if_sheet_exists="overlay",
    ... ) as writer:
    ...     df1.to_excel(writer, sheet_name="Sheet1")
    ...     df2.to_excel(writer, sheet_name="Sheet1", startcol=3)  # doctest: +SKIP
 
    You can store Excel file in RAM:
 
    >>> import io
    >>> df = pd.DataFrame([["ABC", "XYZ"]], columns=["Foo", "Bar"])
    >>> buffer = io.BytesIO()
    >>> with pd.ExcelWriter(buffer) as writer:
    ...     df.to_excel(writer)
 
    You can pack Excel file into zip archive:
 
    >>> import zipfile  # doctest: +SKIP
    >>> df = pd.DataFrame([["ABC", "XYZ"]], columns=["Foo", "Bar"])  # doctest: +SKIP
    >>> with zipfile.ZipFile("path_to_file.zip", "w") as zf:
    ...     with zf.open("filename.xlsx", "w") as buffer:
    ...         with pd.ExcelWriter(buffer) as writer:
    ...             df.to_excel(writer)  # doctest: +SKIP
 
    You can specify additional arguments to the underlying engine:
 
    >>> with pd.ExcelWriter(
    ...     "path_to_file.xlsx",
    ...     engine="xlsxwriter",
    ...     engine_kwargs={{"options": {{"nan_inf_to_errors": True}}}}
    ... ) as writer:
    ...     df.to_excel(writer)  # doctest: +SKIP
 
    In append mode, ``engine_kwargs`` are passed through to
    openpyxl's ``load_workbook``:
 
    >>> with pd.ExcelWriter(
    ...     "path_to_file.xlsx",
    ...     engine="openpyxl",
    ...     mode="a",
    ...     engine_kwargs={{"keep_vba": True}}
    ... ) as writer:
    ...     df.to_excel(writer, sheet_name="Sheet2")  # doctest: +SKIP
    rYÚ_engineztuple[str, ...]Ú_supported_extensionsNÚwztype[ExcelWriter]z)FilePath | WriteExcelBuffer | ExcelWriterrXrz6Literal[('error', 'new', 'replace', 'overlay')] | Nonez dict | None)
ÚclsÚpathr<rHÚdatetime_formatÚmoderMÚif_sheet_existsÚ engine_kwargsr]c    
CsÌ|tkrÂ|dks"t|tƒr®|dkr®t|tƒrFtj |¡ddd…}    nd}    z.tjd|    ›ddd}|dkrvt|    d    d
}Wn4t    k
r¬}
zt
d |    ›d ƒ|
‚W5d}
~
XYnX|dk    sºt ‚t |ƒ}t  |¡S) NÚautor’rÚxlsxú    io.excel.z.writerT©ZsilentÚwriter©rÇzNo engine for filetype: 'ú')rÀrfrYÚosrÅÚsplitextrÚ
get_optionr/ÚKeyErrorrhr¤r0ÚobjectÚ__new__) rÄrÅr<rHrÆrÇrMrÈrÉÚextr·r_r_rbrÖCs 
$ zExcelWriter.__new__r€cCs|jS)z'Extensions that writer engine supports.)rÂrr_r_rbÚsupported_extensionsfsz ExcelWriter.supported_extensionscCs|jS)zName of engine.)rÁrr_r_rbr<kszExcelWriter.enginezdict[str, Any]cCsdS)z(Mapping of sheet names to sheet objects.Nr_rr_r_rbr­pszExcelWriter.sheetscCsdS)z“
        Book instance. Class type will depend on the engine used.
 
        This attribute can be used to access engine-specific features.
        Nr_rr_r_rbrwuszExcelWriter.bookrrZztuple[int, int] | Nonerm)r\ÚstartrowÚstartcolÚ freeze_panesr]cCsdS)a
        Write given formatted cells into Excel an excel sheet
 
        Parameters
        ----------
        cells : generator
            cell of formatted data to save to Excel sheet
        sheet_name : str, default None
            Name of Excel sheet, if None, then use self.cur_sheet
        startrow : upper left cell row to dump data frame
        startcol : upper left cell column to dump data frame
        freeze_panes: int tuple of length 2
            contains the bottom-most row and right-most column to freeze
        Nr_)r|Úcellsr\rÙrÚrÛr_r_rbÚ _write_cells~s    zExcelWriter._write_cellscCsdS)z(
        Save workbook to disk.
        Nr_rr_r_rbÚ_save–szExcelWriter._savezdict[str, Any] | None)    rÅr<rHrÆrÇrMrÈrÉr]c    
Csòt|tƒr$tj |¡d}    | |    ¡d|kr4|d7}| dd¡}|dkrXtd|›dƒ‚|rld|krltdƒ‚|dkrxd    }||_t    t
t t |ƒd
did |_ t|tƒs¶t|||d d |_ d|_|dkrÌd|_n||_|dkrâd|_n||_||_dS)Nr’ÚbÚazr+)NÚerrorÚnewÚreplaceÚoverlayrÐz^' is not valid for if_sheet_exists. Valid options are 'error', 'new', 'replace' and 'overlay'.z7if_sheet_exists is only valid in append mode (mode='a')rárp)rpFrrz
YYYY-MM-DDzYYYY-MM-DD HH:MM:SS)rfrYrÑrÅrÒÚcheck_extensionrãrhÚ_if_sheet_existsr*rrrtÚ_handlesrÀr+Ú
_cur_sheetÚ _date_formatÚ_datetime_formatÚ_mode)
r|rÅr<rHrÆrÇrMrÈrÉr×r_r_rbr~œsD
 
 
ÿ  ÿ
ÿzExcelWriter.__init__cCs|jS©u[
        Format string for dates written into Excel files (e.g. â€˜YYYY-MM-DD’).
        )rérr_r_rbrHÓszExcelWriter.date_formatcCs|jSrì)rêrr_r_rbrÆÚszExcelWriter.datetime_formatcCs|jS)z[
        How to behave when writing to a sheet that already exists in append mode.
        )rærr_r_rbrÈászExcelWriter.if_sheet_existscCst|jjddƒS)Nrƒr›)Úgetattrrçrorr_r_rbÚ
__fspath__èszExcelWriter.__fspath__)r\r]cCs"|dkr|j}|dkrtdƒ‚|S)Nz8Must pass explicit sheet_name or set _cur_sheet property)rèrh)r|r\r_r_rbÚ_get_sheet_nameës
zExcelWriter._get_sheet_nameztuple[object, str | None]cCsd}t|ƒrt|ƒ}nrt|ƒr(t|ƒ}n`t|ƒr:t|ƒ}nNt|tjƒrN|j}n:t|tj    ƒrb|j
}n&t|tj ƒr€|  ¡d}d}nt |ƒ}||fS)aG
        Convert numpy types to Python types for the Excel writers.
 
        Parameters
        ----------
        val : object
            Value to be written into cells
 
        Returns
        -------
        Tuple with the first element being the converted value and the second
            being an optional format
        Ni€QÚ0)r%rZr$Úfloatr#rTrfÚdatetimerêÚdateréÚ    timedeltaÚ total_secondsrY)r|ÚvalÚfmtr_r_rbÚ_value_with_fmtòs 
 
 
    zExcelWriter._value_with_fmtz Literal[True])r×r]csJˆ d¡rˆdd…‰t‡fdd„|jDƒƒsFtd|j›dˆ›dƒ‚d    S)
        checks that path's extension against the Writer's supported
        extensions.  If it isn't supported, raises UnsupportedFiletypeError.
        rerNc3s|]}ˆ|kVqdSr^r_)r˜Ú    extension©r×r_rbrœsz.ExcelWriter.check_extension.<locals>.<genexpr>zInvalid extension for engine 'z': 'rÐT)Ú
startswithÚanyrÂrhr<)rÄr×r_rúrbrås
 
 zExcelWriter.check_extensioncCs|Sr^r_rr_r_rbÚ    __enter__!szExcelWriter.__enter__útype[BaseException] | NoneúBaseException | NoneúTracebackType | None©Úexc_typeÚ    exc_valueÚ    tracebackr]cCs | ¡dSr^©ri©r|rrrr_r_rbÚ__exit__$szExcelWriter.__exit__cCs| ¡|j ¡dS)z+synonym for save, to make it more file-likeN)rÞrçrirr_r_rbri,szExcelWriter.close)NNNrÃNNN)NrrN)NNNrÃNNN)r¸r¹rºÚ__doc__Ú__annotations__rÖÚ_pathr»rØr<r¼r½r­rwrÝrÞr~rHrÆrÈrîrïrøÚ classmethodrårýrrir_r_r_rbrÀ„sj
;÷"! ú÷ 7" rÀ)s    s    s    sÐÏࡱásPKzFilePath | ReadBuffer[bytes])Úcontent_or_pathrMr]c
s,t|tƒrt|ƒ}t|d|ddþ}|j}| d¡| t¡}|dkrPtdƒ‚t|tƒs^t    ‚|‰| d¡t
‡fdd„t DƒƒrW5QR£d    Sˆ  t ¡s¨W5QR£dSt |¡}d
d „| ¡Dƒ}W5QRXd |kræW5QR£d Sd|krüW5QR£dSd|krW5QR£dSW5QR£dSQRXdS)a8
    Inspect the path or content of an excel file and get its format.
 
    Adopted from xlrd: https://github.com/python-excel/xlrd.
 
    Parameters
    ----------
    content_or_path : str or file-like object
        Path to file or content of file to inspect. May be a URL.
    {storage_options}
 
    Returns
    -------
    str or None
        Format of file if it can be determined.
 
    Raises
    ------
    ValueError
        If resulting stream is empty.
    BadZipFile
        If resulting stream does not have an XLS signature and is not a valid zipfile.
    rqFrrrNzstream is emptyc3s|]}ˆ |¡VqdSr^)rû)r˜Úsig©Úpeekr_rbrœgsz'inspect_excel_format.<locals>.<genexpr>ÚxlscSsg|]}| dd¡ ¡‘qS)ú\ú/)rãÚlower)r˜rƒr_r_rbršosz(inspect_excel_format.<locals>.<listcomp>zxl/workbook.xmlrËzxl/workbook.binZxlsbz content.xmlZodsÚzip)rfrtrr+roryrsÚ    PEEK_SIZErhr¤rüÚXLS_SIGNATURESrûÚ ZIP_SIGNATUREÚzipfileÚZipFileÚnamelist)r rMroÚstreamÚbufÚzfZcomponent_namesr_rrbÚinspect_excel_format<s@
ÿ
 
 
 
 ÿ
rc@seZdZUdZddlmZddlmZddlm    Z    ddl
m Z e eee    dœZ de d    <d1d d d dœdd„Zdd„Zddd
d
d
d
d
d
d
d
d
dejd
d
d
dejfddddddddddd d ddddœd d!„Zed"d#„ƒZed$d%„ƒZd d&œd'd(„Zdd&œd)d*„Zd+d,d-d d.œd/d0„Zd
S)2rga¯
    Class for parsing tabular Excel sheets into DataFrame objects.
 
    See read_excel for more documentation.
 
    Parameters
    ----------
    path_or_buffer : str, bytes, path object (pathlib.Path or py._path.local.LocalPath),
        A file-like object, xlrd workbook or openpyxl workbook.
        If a string or path object, expected to be a path to a
        .xls, .xlsx, .xlsb, .xlsm, .odf, .ods, or .odt file.
    engine : str, default None
        If io is not a buffer or path, this must be set to identify io.
        Supported engines: ``xlrd``, ``openpyxl``, ``odf``, ``pyxlsb``
        Engine compatibility :
 
        - ``xlrd`` supports old-style Excel files (.xls).
        - ``openpyxl`` supports newer Excel file formats.
        - ``odf`` supports OpenDocument file formats (.odf, .ods, .odt).
        - ``pyxlsb`` supports Binary Excel files.
 
        .. versionchanged:: 1.2.0
 
           The engine `xlrd <https://xlrd.readthedocs.io/en/latest/>`_
           now only supports old-style ``.xls`` files.
           When ``engine=None``, the following logic will be
           used to determine the engine:
 
           - If ``path_or_buffer`` is an OpenDocument format (.odf, .ods, .odt),
             then `odf <https://pypi.org/project/odfpy/>`_ will be used.
           - Otherwise if ``path_or_buffer`` is an xls format,
             ``xlrd`` will be used.
           - Otherwise if ``path_or_buffer`` is in xlsb format,
             `pyxlsb <https://pypi.org/project/pyxlsb/>`_ will be used.
 
           .. versionadded:: 1.3.0
 
           - Otherwise if `openpyxl <https://pypi.org/project/openpyxl/>`_ is installed,
             then ``openpyxl`` will be used.
           - Otherwise if ``xlrd >= 2.0`` is installed, a ``ValueError`` will be raised.
 
           .. warning::
 
            Please do not report issues when using ``xlrd`` to read ``.xlsx`` files.
            This is not supported, switch to using ``openpyxl`` instead.
    r)Ú    ODFReader)ÚOpenpyxlReader)Ú PyxlsbReader)Ú
XlrdReader)ÚxlrdZopenpyxlZodfZpyxlsbzMapping[str, Any]Ú_enginesNrXrrm)r<rMr]cCs|dk    r ||jkr td|›ƒ‚t|tƒr2t|ƒ}||_t|ƒ|_tddddkrXd}nddl    }t
t |ƒƒ}|dkrÔ|dk    rŽt||j ƒrŽd}nt ||d}|dkrªtdƒ‚tjd    |›d
d d }|d krÔt|dd}|dk    sàt‚||_||_|j||j|d|_dS)NzUnknown engine: r#Úignore)Úerrorsrr)r rMzLExcel file format cannot be determined, you must specify an engine manually.rÌz.readerTrÍrÊÚreaderrÏrd)r$rhrfrtrrar,Ú_iorr#r)rZBookrrrÓr/r¤r<rMÚ_reader)r|Zpath_or_bufferr<rMZ xlrd_versionr#r×r_r_rbr~¸s8
 
 ÿÿ  zExcelFile.__init__cCs|jSr^)r(rr_r_rbrîëszExcelFile.__fspath__Fr—rOrQrRrSrUrVz str | dict[Hashable, str] | NonerZr[z7DataFrame | dict[str, DataFrame] | dict[int, DataFrame])r\r7r9r>r?r@rArFrGrHrIrKrLrNr]cKs8|jjf|||||||||    |
| | | |||||dœ|—ŽS)a8
        Parse specified sheet(s) into a DataFrame.
 
        Equivalent to read_excel(ExcelFile, ...)  See the read_excel
        docstring for more info on accepted parameters.
 
        Returns
        -------
        DataFrame or dict of DataFrames
            DataFrame from the passed in Excel file.
        )r\r7r8r9r:r=r>r?r@rArBrFrGrHrIrKrLrN)r)rj)r|r\r7r8r9r:r=r>r?r@rArBrFrGrHrIrKrLrNr¬r_r_rbrjîs,!îízExcelFile.parsecCs|jjSr^)r)rwrr_r_rbrw%szExcelFile.bookcCs|jjSr^)r)r‚rr_r_rbr‚)szExcelFile.sheet_namesr€cCs|j ¡dS)zclose io if necessaryN)r)rirr_r_rbri-szExcelFile.closecCs|Sr^r_rr_r_rbrý1szExcelFile.__enter__rþrÿrrcCs | ¡dSr^rrr_r_rbr4szExcelFile.__exit__)NN)r¸r¹rºrZpandas.io.excel._odfreaderrZpandas.io.excel._openpyxlr Zpandas.io.excel._pyxlsbr!Zpandas.io.excel._xlrdr"r$r    r~rîrr¾rjr»rwr‚rirýrr_r_r_rbrg|sP
/    ü
ü3í,7
 
rg).)r)N)]Ú
__future__rr¼ròÚ    functoolsrrarrÑÚtextwraprÚtypesrÚtypingrrr    r
r r r rrrrrrZpandas._configrZ pandas._libsrZpandas._libs.parsersrZpandas._typingrrrrrrrZpandas.compat._optionalrrZ pandas.errorsrZpandas.util._decoratorsr r!Zpandas.util._validatorsr"Zpandas.core.dtypes.commonr#r$r%r&Zpandas.core.framer'Zpandas.core.shared_docsr(Zpandas.util.versionr)Zpandas.io.commonr*r+r,r-Zpandas.io.excel._utilr.r/r0r1r2Zpandas.io.parsersr3Zpandas.io.parsers.readersr4ÚjoinÚsortedZ_read_excel_docrcr¾ÚABCMetarlrÀrrr¨Úmapr‹rrrgr_r_r_rbÚ<module>s     8   $           vŠw‰ÿýßD&ßD& þàFO 0 þ?