DataFrame constructor not properly called!
Traceback (most recent call last):
File “/Users/parveenchugh/python/3. Session3 - Codebase/Dhan codebase/Dhan_Tradehull.py”, line 222, in get_historical_data
df = pd.DataFrame(ohlc[‘data’])
File “/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/pandas/core/frame.py”, line 887, in init
raise ValueError(“DataFrame constructor not properly called!”)
ValueError: DataFrame constructor not properly called!
Solved