Skip to content

Commit

Permalink
Ignore types
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanFauble committed Nov 22, 2024
1 parent af4683c commit 21421df
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions schematic/utils/df_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import numpy as np
import pandas as pd
from pandarallel import pandarallel # type: ignore
from pandas._libs.parsers import STR_NA_VALUES
from pandas._libs.parsers import STR_NA_VALUES # type: ignore

STR_NA_VALUES_FILTERED = deepcopy(STR_NA_VALUES)

Expand All @@ -25,7 +25,10 @@


def read_csv(
path_or_buffer: str, keep_default_na=False, encoding="utf8", **load_args: Any
path_or_buffer: str,
keep_default_na: bool = False,
encoding: str = "utf8",
**load_args: Any,
) -> pd.DataFrame:
na_values = load_args.pop(
"na_values", STR_NA_VALUES_FILTERED if not keep_default_na else None
Expand Down

0 comments on commit 21421df

Please sign in to comment.