Skip to content

Commit

Permalink
suppress warnings from pyarrow under latest pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
alpha-xone committed Feb 2, 2019
1 parent ceeff49 commit d9401db
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xbbg/blp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import sys
import pytest
import warnings

from xbbg import const
from xbbg.io import files, logs, storage
Expand All @@ -18,6 +19,11 @@

if hasattr(sys, 'pytest_call'): create_connection()

# Suppress warnings from pyarrow under latest release of pandas
warnings.filterwarnings(
action='ignore', category=FutureWarning, module='pyarrow',
)


@with_bloomberg
def bdp(tickers, flds, **kwargs):
Expand Down

0 comments on commit d9401db

Please sign in to comment.