Skip to content

Deprecated usage of iloc in pandas notebook 2 #91

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

Open
Barderus opened this issue May 20, 2025 · 0 comments
Open

Deprecated usage of iloc in pandas notebook 2 #91

Barderus opened this issue May 20, 2025 · 0 comments

Comments

@Barderus
Copy link

Barderus commented May 20, 2025

I noticed that the tutorial uses .iloc in the pandas section on notebook 2. At the Humble Data workshop at PyCon US 2025, we learned that certain .iloc behaviors are deprecated in pandas 2.2+ and can confuse beginners. It might be worth keeping only .loc instead to keep things easier to understand.
Thanks for the great resource!

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

No branches or pull requests

1 participant