Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateTimeTransformer not importing #603

Open
PaulineMauryL opened this issue Jul 31, 2024 · 0 comments
Open

DateTimeTransformer not importing #603

PaulineMauryL opened this issue Jul 31, 2024 · 0 comments

Comments

@PaulineMauryL
Copy link

PaulineMauryL commented Jul 31, 2024

Hi,

I would like to create my own table transformer and wonder if there is a reason to not use DateTimeTransformer ?
It it is not in https://github.com/opendp/smartnoise-sdk/blob/main/synth/snsynth/transform/__init__.py ?
It is also not in the documentation (https://docs.smartnoise.org/synth/transforms/index.html#snsynth.transform.table.TableTransformer.fit_transform).
I had smartnoise-synth==1.0.3 on python 3.11.0 and now have to smartnoise-synth==1.0.4 on python 3.11.9.

from snsynth.transform import (
    AnonymizationTransformer,
    BinTransformer,
    ChainTransformer,
    # DateTimeTransformer, # must comment out
    LabelTransformer,
    MinMaxTransformer,
    OneHotEncoder,
)
from snsynth.transform.datetime import DateTimeTransformer # is it not recommended ?

Thank you for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant