用法:
class clx.eda.EDA(dataframe)
EDA(探索性数据分析)对象。 EDA 用于探索给定数据帧的不同特征。
dataframe:(
cudf.DataFrame
) - 用于分析的 DataFrame
参数:
例子:
>>> from clx.eda import EDA >>> import cudf >>> import pandas as pd >>> df = cudf.DataFrame() >>> df['a'] = [1,2,3,4] >>> df['b'] = ['a','b','c','c'] >>> df['c'] = [True, False, True, True] >>> df['d'] = cudf.Series(pd.date_range("2000-01-01", periods=3,freq="m")) >>> eda = EDA(df) >>> eda { "SummaryStatistics": { "a": { "dtype": "int64", "summary": { "unique": "4", "total": "4" } }, "b": { "dtype": "object", "summary": { "unique": "3", "total": "4" } }, "c": { "dtype": "bool", "summary": { "true_percent": "0.75" } }, "d": { "dtype": "datetime64[ns]", "summary": { "timespan": "60 days, 2880 hours, 0 minutes, 0 seconds" } } } }
相关用法
- Python clx.ip.is_ip用法及代码示例
- Python clx.analytics.anomaly_detection.dbscan用法及代码示例
- Python clx.ip.hostmask用法及代码示例
- Python clx.osi.virus_total.VirusTotalClient.file_rescan用法及代码示例
- Python clx.osi.virus_total.VirusTotalClient.url_report用法及代码示例
- Python clx.ip.is_global用法及代码示例
- Python clx.osi.virus_total.VirusTotalClient.ipaddress_report用法及代码示例
- Python clx.ip.ip_to_int用法及代码示例
- Python clx.osi.virus_total.VirusTotalClient.file_scan用法及代码示例
- Python clx.osi.virus_total.VirusTotalClient.scan_big_file用法及代码示例
- Python clx.ip.is_private用法及代码示例
- Python clx.osi.slashnext.SlashNextClient.host_reputation用法及代码示例
- Python clx.analytics.asset_classification.AssetClassification.predict用法及代码示例
- Python clx.analytics.loda.Loda.score用法及代码示例
- Python clx.osi.slashnext.SlashNextClient.api_quota用法及代码示例
- Python clx.ip.is_reserved用法及代码示例
- Python clx.dns.dns_extractor.generate_tld_cols用法及代码示例
- Python clx.ip.is_unspecified用法及代码示例
- Python clx.ip.is_loopback用法及代码示例
- Python clx.analytics.dga_detector.DGADetector.evaluate_model用法及代码示例
注:本文由纯净天空筛选整理自rapids.ai大神的英文原创作品 clx.eda.EDA。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。