This PR addresses https://github.com/daavoo/pyntcloud/issues/309 and adds support for the file reader to deal with Boolean fields (writing boolean fields was already not an issue). It also adds a new test fixture file and a simple unit test.
The new test data PLY file contains the following header:
which loads to give the following dataframe - notice the newly inserted is_green column of type bool:
This PR addresses https://github.com/daavoo/pyntcloud/issues/309 and adds support for the file reader to deal with Boolean fields (writing boolean fields was already not an issue). It also adds a new test fixture file and a simple unit test.
The new test data PLY file contains the following header:
which loads to give the following dataframe - notice the newly inserted
is_green
column of typebool
: