mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-05-07 22:40:49 +08:00
* Added flake8-simplify * Update linting.yml * update. left 1 for you colin * Fix that one * Missed * Fix * mypy --------- Co-authored-by: james <jmaslek11@gmail.com>
10 lines
301 B
Python
10 lines
301 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
|
|
return all(not isinstance(item, pd.DataFrame) for item in kwargs.values())
|