+
    xȇi                        ^ RI Ht ^ RIHt ^ RIt^ RIHt ^ RIt^ RI	H
t
 ^ RIHt ]'       d   ^ RIHt ^ RIHtHt  ! R	 R
]R,          4      tR# )    )annotations)timeN)TYPE_CHECKING)import_optional_dependency)BaseExcelReaderBook)ScalarStorageOptionsc                     a  ] tR t^tRR V 3R lllt]R R l4       tR R lt]R 4       tR t	R	 t
RR
 R lltRtV ;t# )
XlrdReaderc               $    V ^8  d   QhRRRRRR/# )   storage_optionszStorageOptions | Noneengine_kwargszdict | NonereturnNone )formats   "e/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/io/excel/_xlrd.py__annotate__XlrdReader.__annotate__   s*      
  
 / 
 #	 

 
 
    c                J   < Rp\        RVR7       \        SV `	  VVVR7       R# )aE  
Reader using xlrd engine.

Parameters
----------
filepath_or_buffer : str, path object or Workbook
    Object to be parsed.
storage_options : dict, optional
    Extra options that make sense for a particular storage connection,
    e.g. host, port, username, password, etc. For HTTP(S) URLs the
    key-value pairs are forwarded to ``urllib.request.Request`` as
    header options. For other URLs (e.g. starting with "s3://", and
    "gcs://") the key-value pairs are forwarded to ``fsspec.open``.
    Please see ``fsspec`` and ``urllib`` for more details, and for more
    examples on storage options refer `here <https://pandas.pydata.org/
    pandas-docs/stable/user_guide/io.html?
    highlight=storage_options#reading-writing-remote-files>`__.
engine_kwargs : dict, optional
    Arbitrary keyword arguments passed to excel engine.
z+Install xlrd >= 2.0.1 for xls Excel supportxlrd)extra)r   r   N)r   super__init__)selffilepath_or_bufferr   r   err_msg	__class__s   &&&& r   r   XlrdReader.__init__   s0    4 @"69+' 	 	
r   c                   V ^8  d   QhRR/# )r   r   z
type[Book]r   )r   s   "r   r   r   :   s       r   c                	    ^ RI Hp V# )r   r   )r   r	   )r   r	   s   & r   _workbook_classXlrdReader._workbook_class9   s
    r   c                   V ^8  d   QhRR/# )r   r   r	   r   )r   s   "r   r   r   ?   s     F F$ Fr   c                	x    ^ RI Hp \        VR4      '       d   VP                  4       pV! RRV/VB # V! V3/ VB # )r   )open_workbookreadfile_contentsr   )r   r*   hasattrr+   )r   r    r   r*   datas   &&&  r   load_workbookXlrdReader.load_workbook?   sE    &%v..%**,D EtE}EE !3E}EEr   c                	6    V P                   P                  4       # N)booksheet_names)r   s   &r   r4   XlrdReader.sheet_namesH   s    yy$$&&r   c                	Z    V P                  V4       V P                  P                  V4      # r2   )raise_if_bad_sheet_by_namer3   sheet_by_name)r   names   &&r   get_sheet_by_nameXlrdReader.get_sheet_by_nameL   s%    ''-yy&&t,,r   c                	Z    V P                  V4       V P                  P                  V4      # r2   )raise_if_bad_sheet_by_indexr3   sheet_by_index)r   indexs   &&r   get_sheet_by_indexXlrdReader.get_sheet_by_indexP   s%    ((/yy''..r   c                    V ^8  d   QhRRRR/# )r   file_rows_neededz
int | Noner   zlist[list[Scalar]]r   )r   s   "r   r   r   T   s     ?
 ?
'1?
	?
r   c                	  aa	a
aaa ^ RI HoHo	Ho
HoHo V P                  P                  oVV	V
VVV3R lpVP                  pVe   \        WB4      p\        V4       UUUu. uFI  p\        VP                  V4      VP                  V4      RR7       UUu. uF  w  rgV! Wg4      NK  	  uppNKK  	  uppp# u uppi u upppi )r   )XL_CELL_BOOLEANXL_CELL_DATEXL_CELL_ERRORXL_CELL_NUMBERxldatec                  < VS8X  d    S	P                  V S4      p T P                  4       R,          pS'       g   TR8X  g   S'       d>   TR8X  d7   \        T P                  T P
                  T P                  T P                  4      p T # VS8X  d   \        P                  p V # VS8X  d   \        V 4      p V # VS8X  d0   \        P                  ! V 4      '       d   \        V 4      pW08X  d   Tp V #   \         d    T u # i ; i)zD
converts the contents of the cell into a pandas appropriate object
:r      N)ik        )ip     rN   )xldate_as_datetimeOverflowError	timetupler   hourminutesecondmicrosecondnpnanboolmathisfiniteint)
cell_contentscell_typyearvalrE   rF   rG   rH   	epoch1904rI   s
   &&  r   _parse_cell.XlrdReader.get_sheet_data.<locals>._parse_cella   s    <')$*$=$=mY$WM &//137!dn&<$,"6$(%**%,,%,,%11	%M& !  ]* " !  _, $] 3 !  ^+ ==//m,C+(+  ; % )(()s   C. .C>=C>T)strict)r   rE   rF   rG   rH   rI   r3   datemodenrowsminrangezip
row_values	row_types)r   sheetrC   ra   re   ivaluetyprE   rF   rG   rH   r`   rI   s   &&&     @@@@@@r   get_sheet_dataXlrdReader.get_sheet_dataT   s    	
 	
 II&&	%	! %	!N '0E 5\
 "	 #&$$Q');D##JE E'# "
 	

s    4B:B4'B:4B:r   )NNr2   )__name__
__module____qualname____firstlineno__r   propertyr&   r/   r4   r:   r@   ro   __static_attributes____classcell__)r"   s   @r   r   r      sP     
  
D  
F ' '-/?
 ?
r   r   r	   )
__future__r   datetimer   rY   typingr   numpyrV   pandas.compat._optionalr   pandas.io.excel._baser   r   r	   pandas._typingr
   r   r   r   r   r   <module>r      s8    "      > 1}
( }
r   