- 用法:- clx.ip.netmask(ips, prefixlen=16)
- 为一列 IP 地址计算一列网络掩码。地址必须是 IPv4。尚不支持 IPv6。 - ips:- IP 地址
- prefixlen:(int) - IPv4 地址的网络前缀长度(以位为单位)
 
- 网络掩码 
- cudf.Series 
 - 参数:- 返回:- 返回类型:- 例子:- >>> import clx.ip >>> import cudf >>> clx.ip.netmask(cudf.Series(["192.168.0.1","10.0.0.1"]), prefixlen=16) 0 255.255.0.0 1 255.255.0.0 Name: net_mask, dtype: object
相关用法
- Python clx.ip.is_ip用法及代码示例
- Python clx.ip.hostmask用法及代码示例
- Python clx.ip.is_global用法及代码示例
- Python clx.ip.ip_to_int用法及代码示例
- 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.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.netmask。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。
