This is the code that triggers the problem:
import numpy as np from scipy.optimize import minimize def find_vector_of_minor_axis_from_chunk(data): n = 2