I have three Boolean data frames which are part of the same dictionary. I would like to have as an output one data frame, containing all the true rows.
So if one row is True in one of the data frames it's True in the output dataframe.
if it's False in All data frames, it's False in the output dataframe.
data1 ={"":[True,False,True,False,False]}
data2= {"":[False,True,False,False,False]}
data3= {"":[False,False,False,False,True]}
df1=pd.DataFrame(data1)
df2=pd.DataFrame(data2)
df3=pd.DataFrame(data3)
Expected output:
Output_Data= {"":[True,True,True,False,True]}