Skip to content

Commit

Permalink
Closes Bears-R-Us#2958 rename akstats to akscipy
Browse files Browse the repository at this point in the history
  • Loading branch information
ajpotts committed Feb 8, 2024
1 parent e2c53ef commit 578e646
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 10 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import numpy as np

import arkouda as ak
from arkouda.akmath import xlogy
from arkouda.pdarrayclass import pdarray
from arkouda.scipy.special import xlogy


class TestStats:
Expand Down
4 changes: 2 additions & 2 deletions arkouda/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@
is_registered,
broadcast_dims,
)
from arkouda.akmath import *
from arkouda.akstats import *
from arkouda.akscipy.special import *
from arkouda.akscipy import *
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from scipy.stats import chi2

import arkouda as ak
from arkouda.akmath import xlogy
from arkouda.akscipy.special import xlogy
from arkouda.dtypes import float64 as akfloat64

__all__ = ["power_divergence", "chisquare", "Power_divergenceResult"]
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def xlogy(x: Union[pdarray, np.float64], y: pdarray):
>>> import arkouda as ak
>>> ak.connect()
>>> from arkouda.akmath import xlogy
>>> from arkouda.akscipy.special import xlogy
>>> xlogy( ak.array([1, 2, 3, 4]), ak.array([5,6,7,8]))
array([1.6094379124341003 3.5835189384561099 5.8377304471659395 8.317766166719343])
>>> xlogy( 5.0, ak.array([1, 2, 3, 4]))
Expand Down
4 changes: 2 additions & 2 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
filterwarnings =
ignore:Version mismatch between client .*
testpaths =
tests/akmath/akmath_test.py
tests/akstats/akstats_test.py
tests/akscipy/math_test.py
tests/akscipy/akscipy_test.py
tests/alignment_tests.py
tests/array_view_test.py
tests/bitops_test.py
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def create_stat_test_pairs(self):
def test_power_divergence(self):
from scipy.stats import power_divergence as scipy_power_divergence

from arkouda.akstats import power_divergence as ak_power_divergence
from arkouda.akscipy import power_divergence as ak_power_divergence

pairs = self.create_stat_test_pairs()

Expand Down Expand Up @@ -57,7 +57,7 @@ def test_power_divergence(self):
def test_chisquare(self):
from scipy.stats import chisquare as scipy_chisquare

from arkouda.akstats import chisquare as ak_chisquare
from arkouda.akscipy import chisquare as ak_chisquare

pairs = self.create_stat_test_pairs()

Expand Down
2 changes: 1 addition & 1 deletion tests/akmath/akmath_test.py → tests/akscipy/math_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from base_test import ArkoudaTest
from context import arkouda as ak

from arkouda.akmath import xlogy
from arkouda.akscipy.special import xlogy
from arkouda.pdarrayclass import pdarray


Expand Down

0 comments on commit 578e646

Please sign in to comment.