From 00738d965d73def42bc991edd993a0084ee702a2 Mon Sep 17 00:00:00 2001 From: Adrian D'Alessandro Date: Fri, 9 Feb 2024 14:57:14 +0000 Subject: [PATCH] Ignore mypy error --- datahub/opal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datahub/opal.py b/datahub/opal.py index 9a821e1..489fd71 100644 --- a/datahub/opal.py +++ b/datahub/opal.py @@ -123,7 +123,7 @@ def append(self, data: dict[str, int | float] | list[int | float]) -> None: data_index = data["frame"] dtypes = self._obj.dtypes - self._obj.loc[data_index] = row.loc[data_index] # type: ignore[call-overload] + self._obj.loc[data_index] = row.loc[data_index] # type: ignore[index] self._obj[:] = self._obj.astype(dtypes)[:] self._obj[self._obj.columns] = self._obj.astype(dtypes)[self._obj.columns]