Skip to content

Commit

Permalink
[OPS] Ignore dython warnings about rounding.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 5131f547edb72437535c7efe72496f367dff4c6e
  • Loading branch information
tylersbray committed Feb 15, 2024
1 parent a3eee3b commit a977311
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gretel_synthetics/utils/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Generates correlation reports between data sets.
"""
import math
import warnings

from typing import List, Tuple

Expand All @@ -21,6 +22,9 @@
_DEFAULT_REPLACE_VALUE = 0.0
UNIQUENESS_THRESHOLD = 0.1

# Rounding warnings can be extremely noisy.
warnings.filterwarnings("ignore", module="dython.nominal")


def count_memorized_lines(df1: pd.DataFrame, df2: pd.DataFrame) -> int:
"""
Expand Down

0 comments on commit a977311

Please sign in to comment.