TypeError: object of type 'bool' has no len()
df = pd.DataFrame(self.Output_Data,index=False) 
df.to_excel(path) 


i want to generate excel without indexing column but it giving me below error


Traceback (most recent call last):

File "E:/Python_Projects/Scraptemplate/ProductCrawl.py", line 81, in Out_Excel
    df = pd.DataFrame(self.Output_Data,index=False)    #create dataframe of Dataout (list of dict)
  File "C:\ProgramData\Anaconda3\envs\Conda_env\lib\site-packages\pandas\core\frame.py", line 400, in __init__
    dtype=dtype)
  File "C:\ProgramData\Anaconda3\envs\Conda_env\lib\site-packages\pandas\core\frame.py", line 7359, in _arrays_to_mgr
    arrays = _homogenize(arrays, index, dtype)
  File "C:\ProgramData\Anaconda3\envs\Conda_env\lib\site-packages\pandas\core\frame.py", line 7669, in _homogenize
    raise_cast_failure=False)
  File "C:\ProgramData\Anaconda3\envs\Conda_env\lib\site-packages\pandas\core\series.py", line 4159, in _sanitize_array
    if len(subarr) != len(index) and len(subarr) == 1:
TypeError: object of type 'bool' has no len()

provide best solution for this 

