convert_ipv4#

pylibcudf.strings.convert.convert_ipv4.integers_to_ipv4(Column integers) Column#

Converts integers into IPv4 addresses as strings.

For details, see cpp:func:cudf::strings::integers_to_ipv4

Parameters:
integersColumn

Integer (uint32) column to convert.

Returns:
Column

New strings column.

pylibcudf.strings.convert.convert_ipv4.ipv4_to_integers(Column input) Column#

Converts IPv4 addresses into integers.

For details, see cpp:func:cudf::strings::ipv4_to_integers

Parameters:
inputColumn

Strings instance for this operation

Returns:
Column

New uint32 column converted from strings.

pylibcudf.strings.convert.convert_ipv4.is_ipv4(Column input) Column#

Returns a boolean column identifying strings in which all characters are valid for conversion to integers from IPv4 format.

For details, see cpp:func:cudf::strings::is_ipv4

Parameters:
inputColumn

Strings instance for this operation.

Returns:
Column

New column of boolean results for each string.