chore: import upstream snapshot with attribution
RequirementsTest / build (windows-latest, 3.9) (push) Has been cancelled
RequirementsTest / build (macos-latest, 3.9) (push) Has been cancelled
RequirementsTest / build (ubuntu-latest, 3.9) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Pylint / build (3.9) (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 13:18:32 +08:00
commit f0dfbfc3d7
1306 changed files with 364980 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
""" Generates list of intialized visualizers """
import pandas as pd
import seaborn as sns
from libs.dashboard import dashboard_app
pd.set_option("display.max_rows", None)
pd.set_option("display.max_columns", None)
pd.set_option("display.width", None)
pd.set_option("display.max_colwidth", -1)
def dataframe_visualizer(code_imdict, dash_app):
"""Returns Dataframe visuualizers and list fo processed Daataframes """
codedict = dict(code_imdict)
list_dataframe_names = []
for code in codedict.keys():
loc = {}
replace_str = ""
command = "var = " + code.replace('"', "'") + replace_str
exec(command, globals(), loc)
dash_app = dashboard_app(loc["var"], dash_app, {})
list_dataframe_names.append("")
return list_dataframe_names, dash_app