import numpy array1 = arcpy.RasterToNumPyArray("per_under30.tif") array2 = arcpy.RasterToNumPyArray("per_renter.tif") print numpy.corrcoef(array1.ravel(), array2.ravel())
[[ 1. 0.28250181] [ 0.28250181 1. ]]
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.