§
    Q/Ph-  ã                   óÈ   — d dl mZ d dlmZmZ d dlmZmZmZmZm	Z	 d dl
mZ e G d„ d¦  «        ¦   «         Ze G d„ d¦  «        ¦   «         Ze G d	„ d
¦  «        ¦   «         ZdS )é    )Ú	dataclass)ÚdatetimeÚ	timedelta)ÚAnyÚDictÚListÚOptionalÚUnion)Ú	Timedeltac                   óº   — e Zd ZU dZeed<   eeee         f         ed<   eeee         f         ed<   dedededdfd„Z	e
deeee         f         fd„¦   «         ZdS )	ÚBaseAnalysisa2  Description of base analysis module of report.
    Overall info about report.

    Attributes
        title (str): Title of report.
        date_start (Union[datetime, List[datetime]]): Start of generating description.
        date_end (Union[datetime, List[datetime]]): End of generating description.
    ÚtitleÚ
date_startÚdate_endÚreturnNc                 ó0   — || _         || _        || _        d S ©N)r   r   r   )Úselfr   r   r   s       úa/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/ydata_profiling/model/description.pyÚ__init__zBaseAnalysis.__init__   s   € ØˆŒ
Ø$ˆŒØ ˆŒˆˆó    c                 óh  ‡ — t          ‰ j        t          ¦  «        r)t          ‰ j        t          ¦  «        r‰ j        ‰ j        z
  S t          ‰ j        t          ¦  «        rGt          ‰ j        t          ¦  «        r-ˆ fd„t          t          ‰ j        ¦  «        ¦  «        D ¦   «         S t          ¦   «         ‚)Nc                 óF   •— g | ]}‰j         |         ‰j        |         z
  ‘ŒS © )r   r   )Ú.0Úir   s     €r   ú
<listcomp>z)BaseAnalysis.duration.<locals>.<listcomp>#   s<   ø€ ð ð ð àð ”˜aÔ  4¤?°1Ô#5Ñ5ðð ð r   )Ú
isinstancer   r   r   ÚlistÚrangeÚlenÚ	TypeError)r   s   `r   ÚdurationzBaseAnalysis.duration   s°   ø€ åd”o¥xÑ0Ô0ð 	3µZØŒM8ñ6
ô 6
ð 	3ð ”= 4¤?Ñ2Ð2Ýd”o¥tÑ,Ô,ð 	µ¸D¼MÍ4Ñ1PÔ1Pð 	ðð ð ð ås 4¤?Ñ3Ô3Ñ4Ô4ðñ ô ð õ
 ‘+”+Ðr   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚstrÚ__annotations__r
   r   r   r   Úpropertyr   r#   r   r   r   r   r      sÅ   € € € € € € ðð ð €J€JJØh  X¤Ð.Ô/Ð/Ð/Ñ/ØH˜d 8œnÐ,Ô-Ð-Ð-Ñ-ð!˜cð !¨xð !À8ð !ÐPTð !ð !ð !ð !ð
 ð˜% 	¨4°	¬?Ð :Ô;ð ð ð ñ „Xðð ð r   r   c                   ó  — e Zd ZU dZeeee         f         ed<   eeee         f         ed<   eed<   eed<   ee	ee	         e
ee
         f         ed<   eee         eee                  f         ed<   	 ddedededede	dee         d	dfd
„ZdS )ÚTimeIndexAnalysisaX  Description of timeseries index analysis module of report.

    Attributes:
        n_series (Union[int, List[int]): Number of time series identified in the dataset.
        length (Union[int, List[int]): Number of data points in the time series.
        start (Any): Starting point of the time series.
        end (Any): Ending point of the time series.
        period (Union[float, List[float]): Average interval between data points in the time series.
        frequency (Union[Optional[str], List[Optional[str]]): A string alias given to useful common time series frequencies, e.g. H - hours.
    Ún_seriesÚlengthÚstartÚendÚperiodÚ	frequencyNr   c                 óZ   — || _         || _        || _        || _        || _        || _        d S r   )r-   r.   r/   r0   r1   r2   )r   r-   r.   r/   r0   r1   r2   s          r   r   zTimeIndexAnalysis.__init__?   s2   € ð !ˆŒØˆŒØˆŒ
ØˆŒØˆŒØ"ˆŒˆˆr   r   )r$   r%   r&   r'   r
   Úintr   r)   r   Úfloatr   r	   r(   r   r   r   r   r,   r,   +   s  € € € € € € ð	ð 	ð C˜˜cœNÔ#Ð#Ð#Ñ#Ø#t˜C”y.Ô!Ð!Ð!Ñ!Ø€J€JJØ	€H€HHØ%˜˜eœ i°°i´Ð@ÔAÐAÐAÑAØX˜c”] D¨°#¬Ô$7Ð7Ô8Ð8Ð8Ñ8ð $(ð#ð #àð#ð ð#ð ð	#ð
 ð#ð ð#ð ˜C”=ð#ð 
ð#ð #ð #ð #ð #ð #r   r,   c                   óÎ   — e Zd ZU dZeed<   ee         ed<   eed<   e	e
ef         ed<   eed<   e	e
ef         ed<   e	e
ef         ed<   eed	<   e	e
ef         ed
<   eed<   eed<   dS )ÚBaseDescriptionaí  Description of DataFrame.

    Attributes:
        analysis (BaseAnalysis): Base info about report. Title, start time and end time of description generating.
        time_index_analysis (Optional[TimeIndexAnalysis]): Description of timeseries index analysis module of report.
        table (Any): DataFrame statistic. Base information about DataFrame.
        variables (Dict[str, Any]): Description of variables (columns) of DataFrame. Key is column name, value is description dictionary.
        scatter (Any): Pairwise scatter for all variables. Plot interactions between variables.
        correlations (Dict[str, Any]): Prepare correlation matrix for DataFrame
        missing (Dict[str, Any]): Describe missing values.
        alerts (Any): Take alerts from all modules (variables, scatter, correlations), and group them.
        package (Dict[str, Any]): Contains version of ydata-profiling and config.
        sample (Any): Sample of data.
        duplicates (Any): Description of duplicates.
    ÚanalysisÚtime_index_analysisÚtableÚ	variablesÚscatterÚcorrelationsÚmissingÚalertsÚpackageÚsampleÚ
duplicatesN)r$   r%   r&   r'   r   r)   r	   r,   r   r   r(   r   r   r   r7   r7   P   s·   € € € € € € ðð ð  ÐÐÑØ!Ð"3Ô4Ð4Ð4Ñ4Ø€J€JJØC˜HŒ~ÐÐÑØ€L€LLØs˜Cx”.Ð Ð Ñ Ø#s(Œ^ÐÐÑØ€K€KKØ#s(Œ^ÐÐÑØ€K€KKØ€O€OO€O€Or   r7   N)Údataclassesr   r   r   Útypingr   r   r   r	   r
   Úpandasr   r   r,   r7   r   r   r   ú<module>rF      s  ðØ !Ð !Ð !Ð !Ð !Ð !Ø (Ð (Ð (Ð (Ð (Ð (Ð (Ð (Ø 3Ð 3Ð 3Ð 3Ð 3Ð 3Ð 3Ð 3Ð 3Ð 3Ð 3Ð 3Ð 3Ð 3à Ð Ð Ð Ð Ð ð ðð ð ð ð ñ ô ñ „ððD ð!#ð !#ð !#ð !#ð !#ñ !#ô !#ñ „ð!#ðH ðð ð ð ð ñ ô ñ „ðð ð r   