I'm getting the following FutureWarning when using the SpatialDataFrame, e.g.:
sdf.query('PI == "NA"')
/.../python3.7/site-packages/arcgis/features/geo/_array.py:316: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
I can suppress the warning with:
import warnings warnings.simplefilter(action='ignore', category=FutureWarning)
but just wondered if it was anything to be concerned about. I'm using version 1.9.0.
If you are writing new code or modifying existing code, you should take the deprecation warning to heart and stop using the deprecated syntax. Why would you want to write code today that may stop working in a future release when the vendor is telling you it will break eventually if you don't change your code.
Ah, I get the situation now. Yes, it would be a very very good idea for the ArcGIS API fro Python team to update their code. Cross your fingers but don't hold your breadth.