Skip to main content

A utility package for common pandas code snippets

Project description

gxb

A lightweight Python utility package that provides ready-to-use pandas code snippets for common DataFrame operations.

Installation

pip install gxb

Usage

from gxb import message

snippets = message()

# Get all available snippets
print(snippets)

# Get a specific snippet
print(snippets["to_datetime"])
# Output: DataFrame["colum_name"] = pd.to_datetime(DataFrame["colum_name"], errors = "coerce")

print(snippets["string"])
# Output: DataFrame["column_name"] = DataFrame["column_name"].astype(str)

Available Snippets

Key Description
to_datetime Convert a column to datetime using pandas
string Convert a column to string type

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gxb_dawg-0.1.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gxb_dawg-0.1.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file gxb_dawg-0.1.2.tar.gz.

File metadata

  • Download URL: gxb_dawg-0.1.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for gxb_dawg-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f8604f28fdeb7020a8d233e809c2c310bafcf859adea77d2d42edf9beb1c5c63
MD5 8996558c6278c76219f62a89991cf806
BLAKE2b-256 ae5c9f8186a8e3c7213115e214ce1fe2cc875f9069eeb7a0d6a36eb42055ad76

See more details on using hashes here.

File details

Details for the file gxb_dawg-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: gxb_dawg-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for gxb_dawg-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 51b911ff854de6d7a4b5be5a59bfd164f11b1ce801d7174cbd9d258fccd6669d
MD5 3866e3f0897f9d6d0f56c4626a0246cf
BLAKE2b-256 4abb7e571bd31c7d8872b24acbe6ba2d5741e627dc9e36afbc67f0bf713c02df

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page