Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Intersection between bars Gantt Chart

Hello,

I have a Gantt Chart with 3 tasks that their data time series are discontinuous in each task and between them. I need to check the simultaneity between these tasks, with a minimum record of one year of continuous data. Does anyone have any idea how to solve this? Data below.

df = [dict(Task=“NM - CAN”, Start=‘1954-01-01’, Finish=‘2006-12-31’, Resource=‘Cananeia’),
dict(Task=“NM - CAN”, Start=‘2012-11-09’, Finish=‘2012-12-31’, Resource=‘Cananeia’),
dict(Task=“NM - CAN”, Start=‘2013-01-01’, Finish=‘2013-03-21’, Resource=‘Cananeia’),
dict(Task=“NM - CAN”, Start=‘2014-01-29’, Finish=‘2014-03-31’, Resource=‘Cananeia’),
dict(Task=“NM - CAN”, Start=‘2014-04-01’, Finish=‘2014-06-30’, Resource=‘Cananeia’),
dict(Task=“NM - CAN”, Start=‘2014-07-01’, Finish=‘2014-09-30’, Resource=‘Cananeia’),
dict(Task=“NM - CAN”, Start=‘2014-10-01’, Finish=‘2014-12-31’, Resource=‘Cananeia’),
dict(Task=“NM - CAN”, Start=‘2015-01-01’, Finish=‘2015-03-31’, Resource=‘Cananeia’),
dict(Task=“NM - CAN”, Start=‘2015-04-01’, Finish=‘2015-06-30’, Resource=‘Cananeia’),
dict(Task=“NM - CAN”, Start=‘2015-07-01’, Finish=‘2015-09-30’, Resource=‘Cananeia’),
dict(Task=“NM - CAN”, Start=‘2015-10-01’, Finish=‘2015-12-31’, Resource=‘Cananeia’),
dict(Task=“NM - CAN”, Start=‘2016-01-01’, Finish=‘2016-03-31’, Resource=‘Cananeia’),
dict(Task=“NM - CAN”, Start=‘2016-04-01’, Finish=‘2016-06-30’, Resource=‘Cananeia’),
dict(Task=“NM - UBA”, Start=‘1954-01-01’, Finish=‘1956-12-31’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘1958-01-01’, Finish=‘1959-12-31’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘1963-01-01’, Finish=‘1966-12-31’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘1977-01-01’, Finish=‘1983-12-31’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘1986-01-01’, Finish=‘2000-12-31’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘2012-06-20’, Finish=‘2012-06-30’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘2012-07-01’, Finish=‘2012-09-30’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘2012-10-01’, Finish=‘2012-12-31’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘2013-01-01’, Finish=‘2013-03-31’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘2013-04-01’, Finish=‘2013-06-30’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘2013-07-01’, Finish=‘2013-09-30’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘2013-10-01’, Finish=‘2013-12-11’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘2014-01-13’, Finish=‘2014-03-31’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘2014-04-01’, Finish=‘2014-06-30’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘2014-07-01’, Finish=‘2014-09-30’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘2014-10-01’, Finish=‘2014-12-31’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘2015-01-01’, Finish=‘2015-03-31’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘2015-04-01’, Finish=‘2015-06-30’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘2015-07-01’, Finish=‘2015-09-30’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘2015-10-01’, Finish=‘2015-12-31’, Resource=‘Ubatuba’),
dict(Task=“NM - UBA”, Start=‘2016-01-01’, Finish=‘2016-04-30’, Resource=‘Ubatuba’),
dict(Task=“NM - IF”, Start=‘1963-02-02’, Finish=‘1963-04-21’, Resource=‘Ilha Fiscal’),
dict(Task=“NM - IF”, Start=‘1963-05-02’, Finish=‘1963-12-31’, Resource=‘Ilha Fiscal’),
dict(Task=“NM - IF”, Start=‘1964-01-14’, Finish=‘1964-04-25’, Resource=‘Ilha Fiscal’),
dict(Task=“NM - IF”, Start=‘1964-06-01’, Finish=‘1964-08-01’, Resource=‘Ilha Fiscal’),
dict(Task=“NM - IF”, Start=‘1964-09-01’, Finish=‘1964-12-29’, Resource=‘Ilha Fiscal’),
dict(Task=“NM - IF”, Start=‘1965-01-02’, Finish=‘1965-12-24’, Resource=‘Ilha Fiscal’),
dict(Task=“NM - IF”, Start=‘1966-01-01’, Finish=‘1980-06-01’, Resource=‘Ilha Fiscal’),
dict(Task=“NM - IF”, Start=‘1980-08-09’, Finish=‘1980-11-01’, Resource=‘Ilha Fiscal’),
dict(Task=“NM - IF”, Start=‘1980-12-01’, Finish=‘1986-12-31’, Resource=‘Ilha Fiscal’),
dict(Task=“NM - IF”, Start=‘1988-11-09’, Finish=‘1989-01-19’, Resource=‘Ilha Fiscal’),
dict(Task=“NM - IF”, Start=‘1989-01-24’, Finish=‘1990-03-12’, Resource=‘Ilha Fiscal’),
dict(Task=“NM - IF”, Start=‘1990-03-24’, Finish=‘1994-09-03’, Resource=‘Ilha Fiscal’),
dict(Task=“NM - IF”, Start=‘1994-09-05’, Finish=‘2013-12-11’, Resource=‘Ilha Fiscal’)]