scipy error: ValueError: setting an array element with a sequence

The error message gives no clue of what is going on. The real reason for this is the difference in lengths between the lists inside the list of lists.

Solution found here: https://rationalpie.wordpress.com/2010/02/09/scipy-error-valueerror-setting-an-array-element-with-a-sequence/

Published by

MartinsM

Martins M.