用法:
clx.ip.ip_to_int(values)
將 IP 地址的字符串列轉換為整數值。地址必須是 IPv4。尚不支持 IPv6。
values:(
cudf.Series
) - 要轉換的 IP 地址IP 地址的整數表示
cudf.Series
參數:
返回:
返回類型:
例子:
>>> import clx.ip >>> import cudf >>> clx.ip.ip_to_int(cudf.Series(["192.168.0.1","10.0.0.1"])) 0 89088434 1 1585596973 dtype: int64
相關用法
- Python clx.ip.is_ip用法及代碼示例
- Python clx.ip.is_global用法及代碼示例
- Python clx.ip.is_private用法及代碼示例
- Python clx.ip.is_reserved用法及代碼示例
- Python clx.ip.is_unspecified用法及代碼示例
- Python clx.ip.is_loopback用法及代碼示例
- Python clx.ip.int_to_ip用法及代碼示例
- Python clx.ip.is_multicast用法及代碼示例
- Python clx.ip.is_link_local用法及代碼示例
- Python clx.ip.hostmask用法及代碼示例
- Python clx.ip.netmask用法及代碼示例
- Python clx.ip.mask用法及代碼示例
- Python clx.analytics.anomaly_detection.dbscan用法及代碼示例
- Python clx.osi.virus_total.VirusTotalClient.file_rescan用法及代碼示例
- Python clx.osi.virus_total.VirusTotalClient.url_report用法及代碼示例
- Python clx.osi.virus_total.VirusTotalClient.ipaddress_report用法及代碼示例
- Python clx.osi.virus_total.VirusTotalClient.file_scan用法及代碼示例
- Python clx.osi.virus_total.VirusTotalClient.scan_big_file用法及代碼示例
- Python clx.osi.slashnext.SlashNextClient.host_reputation用法及代碼示例
- Python clx.analytics.asset_classification.AssetClassification.predict用法及代碼示例
注:本文由純淨天空篩選整理自rapids.ai大神的英文原創作品 clx.ip.ip_to_int。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。