Skip to content

Commit

Permalink
Merge pull request #14 from avito-tech/compress-samples
Browse files Browse the repository at this point in the history
Compress samples
  • Loading branch information
lnkov committed Aug 26, 2019
2 parents 620ff8e + 6dad998 commit bcb8535
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion abito/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from .stats import LinearSample, RatioSample, mann_whitney_u_test_from_stats, t_test_from_stats


__version__ = '0.0.9'
__version__ = '0.0.10'

__all__ = [
'LinearSample',
Expand Down
2 changes: 1 addition & 1 deletion abito/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def compress_sample(
num: Iterable[Union[int, float]],
den: Iterable[Union[int, float]] = None,
weights: Iterable[Union[int, float]] = None,
) -> Tuple[np.array, np.array, np.array]:
) -> Tuple[np.ndarray, np.ndarray, np.ndarray]:
df = pd.DataFrame({'num': num})
df['den'] = den if den else 1
df['weights'] = weights if weights else 1
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.0.9
current_version = 0.0.10
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name='abito',
version='0.0.9',
version='0.0.10',
license='MIT',
description='Package for hypothesis testing in A/B-experiments',
long_description=README,
Expand Down

0 comments on commit bcb8535

Please sign in to comment.