Michael Shoemate
Michael Shoemate
- #1567
PSRN = Partially sampled random numbers
from @mccalluc: For example, given ```python lf_domain = dp.lazyframe_domain([ dp.series_domain("grade", dp.atom_domain(T=dp.i32)), dp.series_domain("pet_count", dp.atom_domain(T=dp.i32))] ``` it would be nice to be able to get ```python {'grade': pl.Int32, 'pet_count': pl.Int32} ``` or...
I'm not sure how much we gain from having this shared fixture. In this case, it obviously matters for this PR that it's now an `OptionDomain`... but it's not a...
Integrate Polars with the Context API
In this setting, the key set is not public: ```python context = dp.Context.compositor( data=pl.LazyFrame(schema={"A": pl.Int32, "B": pl.String}), privacy_unit=dp.unit_of(contributions=1), privacy_loss=dp.loss_of(epsilon=1.0, delta=1e-7), split_evenly_over=2, margins={ ("B",): dp.Margin(max_partition_length=5), }, ) ``` However, you can...
Resolves #1759 ```python query = ( context.query() .group_by("B") .agg(pl.len().dp.noise(), pl.col("A").fill_null(2).dp.sum((0, 3))) .accuracy(alpha=.05) ) ``` emits: ``` shape: (2, 5) ┌────────┬───────────┬──────────────┬───────┬───────────┐ │ column ┆ aggregate ┆ distribution ┆ scale ┆ accuracy...