Metadata-Version: 2.4
Name: pd_docs
Version: 0.1.6
Summary: A utility package for common pandas code snippets
License: MIT
Project-URL: Homepage, https://github.com/yourusername/gxb
Project-URL: Issues, https://github.com/yourusername/gxb/issues
Keywords: pandas,snippets,dataframe,utility
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Topic :: Utilities
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# gxb

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

## Installation

```bash
pip install gxb
```

## Usage

```python
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
