Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pandas deprecation warning when writing ply file #355

Open
tflidd opened this issue Nov 23, 2023 · 0 comments · May be fixed by #356
Open

Pandas deprecation warning when writing ply file #355

tflidd opened this issue Nov 23, 2023 · 0 comments · May be fixed by #356

Comments

@tflidd
Copy link

tflidd commented Nov 23, 2023

Describe the bug
When I try to write a ply file, I get a deprecation warning on pandas 2.1.0 (python 3.10).

To Reproduce
Steps to reproduce the behavior:

  1. Just read and write a file:
from pyntcloud import PyntCloud
my_point_cloud = PyntCloud.from_file("c:/temp/test_in.ply")
my_point_cloud.to_file("c:/temp/test.ply")

Expected behavior
Read and write a file without errors

Screenshots

pyntcloud\io\ply.py:260: FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos]

Desktop (please complete the following information):

  • OS: Windows 10 / python 3.10 / pandas 2.1.0
  • Version: master branch commit
@tflidd tflidd linked a pull request Nov 23, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant