Files
StarPilot/starpilot/third_party/influxdb_client/extras.py
T
firestar5683 3d8af2361e Rename
2026-03-27 18:05:44 -05:00

14 lines
396 B
Python

"""Extras to selectively import Pandas or NumPy."""
try:
import pandas as pd
except ModuleNotFoundError as err:
raise ImportError(f"`query_data_frame` requires Pandas which couldn't be imported due: {err}")
try:
import numpy as np
except ModuleNotFoundError as err:
raise ImportError(f"`data_frame` requires numpy which couldn't be imported due: {err}")
__all__ = ['pd', 'np']