Blob Blame History Raw
From 92252faab5d8a8700533b4eb5afda87a948e691b Mon Sep 17 00:00:00 2001
From: James Bourbeau <jrbourbeau@gmail.com>
Date: Mon, 22 May 2023 12:53:20 -0500
Subject: [PATCH 6/6] Ignore NumPy warnings from Pandas

Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
 pyproject.toml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/pyproject.toml b/pyproject.toml
index a334414c..f416cf3c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -143,6 +143,11 @@ filterwarnings = [
     # https://pandas.pydata.org/docs/dev/whatsnew/v1.5.0.html#using-group-keys-with-transformers-in-groupby-apply
     "ignore:Not prepending group keys:FutureWarning",
     "ignore:.*:dask.tests.warning_aliases.RemovedIn20Warning",
+    # This is coming from pandas use of np.find_common_type
+    # See https://github.com/pandas-dev/pandas/issues/53236
+    "ignore:np.find_common_type is deprecated:DeprecationWarning",
+    "ignore:`cumproduct` is deprecated:DeprecationWarning",
+    "ignore:`product` is deprecated:DeprecationWarning",
     "ignore:When grouping with a length-1 list-like, you will need to pass a length-1 tuple to get_group in a future version of pandas:FutureWarning",
     'ignore:DataFrameGroupBy\.apply operated on the grouping columns\. This behavior is deprecated, and in a future version of pandas the grouping columns will be excluded from the operation\. Either pass `include_groups=False` to exclude the groupings or explicitly select the grouping columns after groupby to silence this warning\.:FutureWarning',
     'ignore:Passing a BlockManager to DataFrame is deprecated and will raise in a future version. Use public APIs instead:DeprecationWarning',  # https://github.com/apache/arrow/issues/35081
-- 
2.43.0