Files
OpenBB/tests/test_helpers.py
Colin Delahunty 500fcd6aa2 Refactor the QA Raw Command (#3234)
* Improved usability of raw

* Began refactoring qa raw

* Continued adding fixes

* Added more fixes

* Updated docs

* James fixes

* Added formtting changes

* In process of converting to all lower

* Added fixes

* Fixed tests
2022-11-02 13:35:55 -04:00

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