-
Notifications
You must be signed in to change notification settings - Fork 321
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
[dtypes] Numerical Formatter Fails to Learn Format of New Data Types #2165
Conversation
@@ -55,6 +55,8 @@ class SingleTableMetadata: | |||
} | |||
|
|||
_NUMERICAL_REPRESENTATIONS = frozenset([ | |||
'Float32', | |||
'Float64', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't add a test for this because there is already this test to check the valid computer_representation
:
SDV/tests/unit/metadata/test_single_table.py
Line 120 in a0e0a76
@pytest.mark.parametrize( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
||
|
||
def test_support_new_pandas_dtypes(): | ||
"""Test that the synthesizer supports the new pandas dtypes.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"""Test that the synthesizer supports the new pandas dtypes.""" | |
"""Test that the synthesizer supports the nullable numerical pandas dtypes.""" |
05a3ebe
to
d608cee
Compare
CU-86b1he00a
CU-86b1gc5jb
Resolve #2156
Resolve #2164
Resolve #2157
#2157 seems to be directly solved by this PR: