Skip to main content

POLARS-DEUNICODE-STRING

Crates.io

PIPY Docs.rs PyPI - License PyPI - Python Version PyPI - Downloads PyPI - Wheel PyPI - Format PyPI - Implementation

This is a simple polars-plugin that de-unicodes a string using the deunicode crate.


Installation

pip install polars-deunicode-string

Basic Example

import polars as pl
import polars_deunicode_string as deunicode


df = pl.DataFrame(
    {
        "name": ["Jhon", "María", "José", "Eva-lin"],
        "city": ["Bogotá", "Tunja", "Medellín", "Nariño"],
    }
)
normalized_df = df.select([
    deunicode.decode_string(pl.col(pl.String))
])
print(df)
>>> Data:

shape: (4, 2)
┌─────────┬──────────┐
│ name    ┆ city     │
│ ---     ┆ ---      │
│ str     ┆ str      │
╞═════════╪══════════╡
│ Jhon    ┆ Bogotá   │
│ María   ┆ Tunja    │
│ José    ┆ Medellín │
│ Eva-lin ┆ Nariño   │
└─────────┴──────────┘

print(normalized_df)
>>> Normalized Data:

shape: (4, 2)
┌─────────┬──────────┐
│ name    ┆ city     │
│ ---     ┆ ---      │
│ str     ┆ str      │
╞═════════╪══════════╡
│ Jhon    ┆ Bogota   │
│ Maria   ┆ Tunja    │
│ Jose    ┆ Medellin │
│ Eva-lin ┆ Narino   │
└─────────┴──────────┘

Release files for polars-deunicode-string 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polars-deunicode-string 0.2.6
File Size Uploaded
polars_deunicode_string-0.2.6.tar.gz 33.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for polars-deunicode-string 0.2.6
File
polars_deunicode_string-0.2.6-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details
polars_deunicode_string-0.2.6-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 abi3 Linux glibc 2.17+ x86-64 Details
polars_deunicode_string-0.2.6-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl CPython 3.8 abi3 Linux glibc 2.17+ x86-32 Details
polars_deunicode_string-0.2.6-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details
polars_deunicode_string-0.2.6-cp38-abi3-macosx_10_12_x86_64.whl CPython 3.8 abi3 macOS 10.12+ x86-64 Details

Total release size: 22.8 MB

Release files / polars_deunicode_string-0.2.6.tar.gz

Download URL polars_deunicode_string-0.2.6.tar.gz
Size 33.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f232af945a77888ba938296d900a8591e83ef50f6997329cbcb4531f6c2ce999
BLAKE2b-256 checksum
How to use checksums
7dab816c2e62c6559f158986c5e68956364440c98e8ee02493b2106690a2e940
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.9.4

Release files / polars_deunicode_string-0.2.6-cp38-abi3-win_amd64.whl

Download URL polars_deunicode_string-0.2.6-cp38-abi3-win_amd64.whl
Size 4.2 MB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
34900caa4438f7dde9cc5c6e78ceafc9935ea3f3c89cb74533d659c7df4f38ca
BLAKE2b-256 checksum
How to use checksums
b9db9737fee01f9bdbb32b14f9c2771b00f0a08c93581bc2c307bb8fce756654
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.9.4

Release files / polars_deunicode_string-0.2.6-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL polars_deunicode_string-0.2.6-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 5.0 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
4320edbcbd3e70b9104c91b22e58242fece2a870954391cad645f122c890b759
BLAKE2b-256 checksum
How to use checksums
e5f8c9377a649200891825f8fa789f3dcbda079ffd8771b46af97741c307a1e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.9.4

Release files / polars_deunicode_string-0.2.6-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl

Download URL polars_deunicode_string-0.2.6-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Size 5.2 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-32 abi3
SHA-256 checksum
How to use checksums
0d7e051d89ea911c59f22b88765f6b600b56d706abdabfe036195b7b67cdaa44
BLAKE2b-256 checksum
How to use checksums
6dd62cc28b087fe2ed460d85964745f168c7db6c7f2f0e6a0995d110a6b9ef98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.9.4

Release files / polars_deunicode_string-0.2.6-cp38-abi3-macosx_11_0_arm64.whl

Download URL polars_deunicode_string-0.2.6-cp38-abi3-macosx_11_0_arm64.whl
Size 4.0 MB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5f27db8ec787cbaa343bd41e648688e35c1bbab943964f36492870f57845eae0
BLAKE2b-256 checksum
How to use checksums
7876e01eeffd4a4aa5375296425f1c175cdfafe47740d36438a02eb44b22da00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.9.4

Release files / polars_deunicode_string-0.2.6-cp38-abi3-macosx_10_12_x86_64.whl

Download URL polars_deunicode_string-0.2.6-cp38-abi3-macosx_10_12_x86_64.whl
Size 4.3 MB
Tags CPython 3.8 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
1d1e8b1c20e115d2c151ca8ee789886ff74190c914df4b26e36f49463f34ecce
BLAKE2b-256 checksum
How to use checksums
e8f344b82526c7e4c2dd905484f7e189abcd30736fa7860d94a94eada146c97a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.9.4

Release history Release notifications | RSS feed

This release

0.2.6 This release

6 release files

0.2.5

6 release files

0.1.2

6 release files

0.1.1

6 release files

0.1.0

6 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page