用法:
StringMethods.url_decode() → SeriesOrIndex
返回每个字符串的 URL-decoded 格式。不执行格式检查。所有字符都应编码为 UTF-8 十六进制值。
- 系列或索引。
返回:
例子:
>>> import cudf >>> s = cudf.Series(['A%2FB-C%2FD', 'e%20f.g', '4-5%2C6']) >>> s.str.url_decode() 0 A/B-C/D 1 e f.g 2 4-5,6 dtype: object >>> data = ["https%3A%2F%2Frapids.ai%2Fstart.html", ... "https%3A%2F%2Fmedium.com%2Frapids-ai"] >>> s = cudf.Series(data) >>> s.str.url_decode() 0 https://rapids.ai/start.html 1 https://medium.com/rapids-ai dtype: object
相关用法
- Python cudf.core.column.string.StringMethods.url_encode用法及代码示例
- Python cudf.core.column.string.StringMethods.upper用法及代码示例
- Python cudf.core.column.string.StringMethods.is_vowel用法及代码示例
- Python cudf.core.column.string.StringMethods.endswith用法及代码示例
- Python cudf.core.column.string.StringMethods.title用法及代码示例
- Python cudf.core.column.string.StringMethods.contains用法及代码示例
- Python cudf.core.column.string.StringMethods.rsplit用法及代码示例
- Python cudf.core.column.string.StringMethods.zfill用法及代码示例
- Python cudf.core.column.string.StringMethods.hex_to_int用法及代码示例
- Python cudf.core.column.string.StringMethods.htoi用法及代码示例
- Python cudf.core.column.string.StringMethods.character_tokenize用法及代码示例
- Python cudf.core.column.string.StringMethods.normalize_characters用法及代码示例
- Python cudf.core.column.string.StringMethods.filter_alphanum用法及代码示例
- Python cudf.core.column.string.StringMethods.split用法及代码示例
- Python cudf.core.column.string.StringMethods.ngrams用法及代码示例
- Python cudf.core.column.string.StringMethods.replace_with_backrefs用法及代码示例
- Python cudf.core.column.string.StringMethods.insert用法及代码示例
- Python cudf.core.column.string.StringMethods.pad用法及代码示例
- Python cudf.core.column.string.StringMethods.replace用法及代码示例
- Python cudf.core.column.string.StringMethods.rstrip用法及代码示例
注:本文由纯净天空筛选整理自rapids.ai大神的英文原创作品 cudf.core.column.string.StringMethods.url_decode。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。