i have discussed arrays of dtype object below. `assert_equal` won't work if the outer or inner sequence is an array.