<commit_before>from ..config cimport translate_exception
from libc.stdint cimport intptr_t
from libcpp cimport bool
from libcpp.map cimport map
from libcpp.string cimport string
from libcpp.vector cimport vector
from .type cimport type
from .callable cimport callable

cdef extern from 'dynd/array.hpp' namespace 'dynd::nd' nogil:

    cdef enum:
        read_access_flag
        write_access_flag
        immutable_access_flag
        readwrite_access_flags
        default_access_flags

    cdef cppclass array:

        array()
        array(int)
        array(type *, int)

        T as[T]() except +translate_exception
        type get_type()
        type get_dtype()
        type get_dtype(size_t)
        intptr_t get_ndim()
        intptr_t get_dim_size() except +translate_exception

        array p(string)

        map[string, callable] get_properties()

        char *data() const
        const char *cdata() const

        array view_scalars(type&) except +translate_exception

        bool is_null()

        array operator<(array &)
        array operator<=(array &)
        array operator==(array &)
        array operator!=(array &)<commit_msg>Remove pxd reference to array::get_properties().<commit_after>from ..config cimport translate_exception
from libc.stdint cimport intptr_t
from libcpp cimport bool
from libcpp.map cimport map
from libcpp.string cimport string
from libcpp.vector cimport vector
from .type cimport type

cdef extern from 'dynd/array.hpp' namespace 'dynd::nd' nogil:

    cdef enum:
        read_access_flag
        write_access_flag
        immutable_access_flag
        readwrite_access_flags
        default_access_flags

    cdef cppclass array:

        array()
        array(int)
        array(type *, int)

        T as[T]() except +translate_exception
        type get_type()
        type get_dtype()
        type get_dtype(size_t)
        intptr_t get_ndim()
        intptr_t get_dim_size() except +translate_exception

        array p(string)

        char *data() const
        const char *cdata() const

        array view_scalars(type&) except +translate_exception

        bool is_null()

        array operator<(array &)
        array operator<=(array &)
        array operator==(array &)
        array operator!=(array &)
{'fraction_non_alphanumeric': 0.0733421168203777, 'fraction_numerical': 0.0, 'mean_word_length': 2.6216216216216215, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5172287', 'n_tokens_mistral': 676, 'n_tokens_neox': 659, 'n_words': 187}