I am kinda new to python and am working on a requirement to convert an array to a format that is required to be passed inside a function.
array([[\'max_depth\