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

More details on pandas dtypes #61

Open
timmens opened this issue Jan 6, 2025 · 1 comment
Open

More details on pandas dtypes #61

timmens opened this issue Jan 6, 2025 · 1 comment

Comments

@timmens
Copy link
Member

timmens commented Jan 6, 2025

Describe the inconsistency / error

In the screencast on (pandas) dtypes, I've noticed that

  1. The Float32Dtype is not mentioned (on the "Overview of numeric dtypes" slide)
  2. The Float64Dtype does not have a range (on the "Overview of numeric dtypes" slide)
  3. The BooleanDtype is not mentioned
  4. The DatetimeTZDtype is not mentioned

I'd argue that

  • The Float32 dtype should be added to the list for consistency
  • The ranges of the single and double precision floats could be added as info
  • The boolean and datetime dtype could be shown on a "Miscellaneous" slide

Location

@janosg
Copy link
Member

janosg commented Jan 10, 2025

I agree that bool and Datetime would be good to add.

For the float dtypes I would recommend they always use 64. That's why I did not mention anything else. For floats it's less about range and more about the significant digits you can get.

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

2 participants