Metadata-Version: 2.4
Name: polars_ethan
Version: 0.2.0
Summary: Fast Polars functions that Ethan likes to use.
Author-email: Ethan MacCumber <ethanmacc@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/ethanmaccumber/polars-ethan
Keywords: polars,tools,demean,data science
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Requires-Python: >=3.13
Description-Content-Type: text/markdown
Requires-Dist: numba>=0.61.0
Requires-Dist: numpy>=2.1.3
Requires-Dist: polars>=1.25.2

## Features

### Demean

The `demean` function subtracts the mean from each non-NaN value in an array, preserving NaN values.

```python
import polars as pl
from ethanpolars import demean

# Sample data...
df = pl.DataFrame({
    "value": [1.0, 2.0, 3.0, None, 5.0]
})

# Apply demean to the column...

print(df)
```
Output...
```
