• I obtain "NameError: name 'NamedTuple' is not defined" – nbedou Jul 6 '18 at 12:45