RuntimeError Traceback (most recent call last)
<ipython-input-15-dfed5279fb56> in <module>
1 # Load Pipeline output in python objects
----> 2 arr = pipeline.arrays[0]
3 description = arr.dtype.descr
4 cols = [col for col, __ in description]
5 df = pd.DataFrame({col: arr[col] for col in cols})
c:\users\anindya\anaconda3\envs\dsm1\lib\site-packages\pdal\pipeline.py in get_arrays(self)
43
44 def get_arrays(self):
---> 45 return self.p.arrays
46 arrays = property(get_arrays)
pdal\libpdalpython.pyx in pdal.libpdalpython.PyPipeline.arrays.__get__ (pdal/libpdalpython.cpp:2352)()
RuntimeError: call execute() before fetching arrays
While trying to execute below line:
arr = pipeline.arrays[0]Getting below error: