Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions arkouda/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
__version__ = get_versions()["version"]
del get_versions

from arkouda.core.logger import LogLevel, disableVerbose, enableVerbose, disable_verbose, enable_verbose, write_log
from arkouda.core.logger import LogLevel, disable_verbose, enable_verbose, write_log

from arkouda.core.client import (
connect,
Expand Down Expand Up @@ -384,11 +384,6 @@
where,
zeros,
zeros_like,
isSupportedInt,
isSupportedNumber,
isSupportedBool,
isSupportedFloat,
isSupportedDType,
)
from arkouda.pandas import (
Row,
Expand All @@ -414,7 +409,7 @@
ArkoudaArrayLike,
)

from arkouda.client_dtypes import BitVector, bit_vectorizer, BitVectorizer, Fields, IPv4, ip_address, is_ipv4, is_ipv6
from arkouda.client_dtypes import BitVector, bit_vectorizer, Fields, IPv4, ip_address, is_ipv4, is_ipv6
from arkouda.pandas.groupbyclass import GROUPBY_REDUCTION_TYPES, GroupBy, broadcast, groupable, unique
from arkouda.pandas.categorical import Categorical

Expand Down
33 changes: 0 additions & 33 deletions arkouda/client_dtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@

"""

import warnings

from functools import partial
from ipaddress import ip_address as _ip_address
from typing import TYPE_CHECKING, Literal, Optional, TypeVar, Union
Expand Down Expand Up @@ -106,37 +104,6 @@ def bit_vectorizer(width=64, reverse=False):
return partial(BitVector, width=width, reverse=reverse)


def BitVectorizer(*args, **kwargs):
"""
Deprecated alias for :func:`bit_vectorizer`.

This function exists for backward compatibility only. Use
:func:`bit_vectorizer` instead.

Parameters
----------
*args : tuple
Positional arguments forwarded to :func:`bit_vectorizer`.
**kwargs : dict
Keyword arguments forwarded to :func:`bit_vectorizer`.

Returns
-------
bitvectorizer : callable
A function that takes an array and returns a BitVector instance.

See Also
--------
bit_vectorizer : Preferred replacement.
"""
warnings.warn(
"BitVectorizer is deprecated; use bit_vectorizer",
DeprecationWarning,
stacklevel=2,
)
return bit_vectorizer(*args, **kwargs)


class BitVector(pdarray):
"""
Represent integers as bit vectors, e.g. a set of flags.
Expand Down
2 changes: 1 addition & 1 deletion arkouda/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# isort: skip_file
# arkouda/core/__init__.py

from arkouda.core.logger import LogLevel,enable_verbose,disable_verbose,write_log,enableVerbose,disableVerbose
from arkouda.core.logger import LogLevel,enable_verbose,disable_verbose,write_log
Loading