mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 20:42:26 +00:00
13 lines
339 B
Python
13 lines
339 B
Python
import pandas as pd
|
|
|
|
|
|
def no_dfs(args: list, kwargs: dict) -> bool:
|
|
"""Returns false if there are in dataframe objects given"""
|
|
for item in args:
|
|
if isinstance(item, pd.DataFrame):
|
|
return False
|
|
for item in kwargs.values():
|
|
if isinstance(item, pd.DataFrame):
|
|
return False
|
|
return True
|