DOC: `is_float_dtype` meant to be an internal function??
See original GitHub issueSeems like there is no function for public API to check the dtype of an array-like object. Either the documentation needs to be changed or a public function should be provided and treat this one as an internal one by adding underscore at the beginning of it.
P.S. To keep the consistency between “int” and “float” dtype functions, it’s better to add another function like is_float64_dtype
and keep the current one and triage the documentation.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Different behavior of arithmetics on dtype float 'object' and 'float'
With object dtype arrays, numpy delegates the calculation to the elements (sort of like a list comprehension). The result is that some ...
Read more >Built-in Functions — Python 3.11.1 documentation
The Python interpreter has a number of functions and types built into it that are ... The argument may be an integer, a...
Read more >float - CSS: Cascading Style Sheets - MDN Web Docs - Mozilla
The float CSS property places an element on the left or right side of its container, allowing text and inline elements to wrap...
Read more >Image data types and what they mean — skimage v0.19.2 docs
Functions in skimage are designed so that they accept any of these dtypes, but, ... Convert to floating point (integer types become 64-bit...
Read more >pandas.to_numeric — pandas 1.5.2 documentation
The default return dtype is float64 or int64 depending on the data supplied. Use the downcast parameter to obtain other dtypes. Please note...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@MRyderOC Could you open a dedicated issue, if you think having a function
if_float64_dtype
is necessary/a good idea? Also adding a use case where this is helpful would be great.float32
is not very well supported within pandas, this might be a reason why the function does not exist.@mroeschke any updates on this? Should we just clean the docs or should we implement the
is_float64_dtype
?