Skip to content

Commit

Permalink
[MAINTENANCE] Ignore Pandas DeprecationWarning for legacy `Pandas…
Browse files Browse the repository at this point in the history
…Dataset` (#9471)
  • Loading branch information
NathanFarmer committed Feb 15, 2024
1 parent 53961f2 commit f1b27c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,9 @@ filterwarnings = [
'ignore: Returning a DataFrame from Series.apply when the supplied function returns a Series is deprecated and will be removed in a future version.',
# Example Actual Warning: FutureWarning: In a future version of pandas, parsing datetimes with mixed time zones will raise an error unless `utc=True`. Please specify `utc=True` to opt in to the new behaviour and silence this warning. To create a `Series` with mixed offsets and `object` dtype, please use `apply` and `datetime.datetime.strptime`
'ignore: In a future version of pandas, parsing datetimes with mixed time zones will raise an error:FutureWarning',
# Example Actual Warning: DeprecationWarning: Passing a BlockManager to PandasDataset is deprecated and will raise in a future version. Use public APIs instead.
# This is a legacy pattern that will be removed from GX
'ignore: Passing a BlockManager to PandasDataset is deprecated and will raise in a future version. Use public APIs instead.:DeprecationWarning',

# numpy
# Example Actual Warning: RuntimeWarning: Mean of empty slice.
Expand Down

0 comments on commit f1b27c9

Please sign in to comment.