pointcloudset.io.pointcloud.pandas module

pointcloudset.io.pointcloud.pandas.from_dataframe(df: DataFrame) dict

Converts pandas DataFrame to a PointCloud.

Parameters:

df (pandas.DataFrame) – Pandas DataFrame to convert.

Returns:

Returns data for PointCloud.

Return type:

dict

pointcloudset.io.pointcloud.pandas.to_dataframe(pointcloud: PointCloud) pd.DataFrame

Converts a PointCloud to a pandas DataFrame.

Parameters:

pointcloud (PointCloud) – PointCloud to convert.

Returns:

Data of PointCloud.

Return type:

pandas.DataFrame