Stay organized with collections Save and categorize content based on your preferences.
Extension dtype for boolean data.
Warning: BooleanDtype is considered experimental. The implementation and parts of the API may change without warning... method:: None :noindex:
.. rubric:: Examples
Properties kindpd.BooleanDtype() BooleanDtype
A character code (one of 'biufcmMOSUV'), default 'O'
This should match the NumPy dtype used when the array is converted to an ndarray, which is probably 'O' for object if the extension type cannot be represented as a built-in NumPy type.
See Alsonumpy.dtype.kind
numpy_dtypeReturn an instance of our numpy dtype
typeThe scalar type for the array, e.g. int
It's expected ExtensionArray[item]
returns an instance of ExtensionDtype.type
for scalar item
, assuming that value is valid (not NA). NA values do not need to be instances of type
.
__from_arrow__(array: pyarrow.Array | pyarrow.ChunkedArray) -> BooleanArray
Construct BooleanArray from pyarrow Array/ChunkedArray.
construct_array_typeconstruct_array_type() -> type_t[BooleanArray]
Return the array type associated with this dtype.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-12 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4