dsws gets a performance warning from pandas
…\python3.12\latest\Lib\site-packages\DatastreamDSWS\DS_Response.py:361: PerformanceWarning: DataFrame is highly fragmented. This is usually the result of calling frame.insert
many times, which has poor performance. Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame,
use newframe = frame.copy()
offending line :
df[colNames] = None
temp hack:
import warnings
# Suppress PerformanceWarningwarnings.simplefilter(action='ignore', category=pd.errors.PerformanceWarning)