Skip to content

[SDV 2.0] Multi-table fit warns twice for out of range values #2995

Description

@frances-h

Environment Details

Please indicate the following details about the environment in which you found the bug:

  • SDV version:
  • Python version:
  • Operating System:

Error Description

Multi-table fit currently generates extra warnings if the data does not cover the range given by the metadata.

Steps to reproduce

data, metadata = download_demo('multi_table', 'fake_hotels')
min_room_rate = min(data['guests']['room_rate']) - 1
metadata.update_column('room_rate', table_name='guests', range_min=min_room_rate)
synthesizer = HMASynthesizer(metadata)

synthesizer.fit(data)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions