Dataset with empty pointclouds
tgoelles opened this issue · comments
Saving a dataset with an empty frame results in erros. Also an empty frame in a dataset results in a warning from pyntcloud
To Reproduce
Steps to reproduce the behavior:
Apply a function which results in an empty frame and try to save it
warnings from pyntcloud
opt/conda/lib/python3.8/site-packages/pyntcloud/core_class.py:670: RuntimeWarning:
Mean of empty slice.
repeated many times for a single frame
Expected behavior
A clear and concise description of what you expected to happen.
Dataset can handle empty frames and can also read and write them
3 related problems:
-
empty dask partitions are not saved
related to open dask issue: dask/dask#5252 -
different column names when the frame (PointCloud) is empty
-
no real empty PointCloud object implemented yet
solved in release 0.2.3