Skip to content

Commit 63ffe40

Browse files
authored
Merge pull request #43 from histogrammar/1.0.x
1.0.x
2 parents c660e69 + 66b011f commit 63ffe40

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Histograms and other aggregators may also be converted into CUDA code for inclus
1919
PyCUDA is available, they can also be filled from Numpy arrays by JIT-compiling the CUDA code.
2020
This Python implementation of histogrammar been tested to guarantee compatibility with its Scala implementation.
2121

22-
Latest Python release: v1.0.22 (Mar 2021).
22+
Latest Python release: v1.0.23 (Mar 2021).
2323

2424
Announcements
2525
=============

histogrammar/dfinterface/addmethods.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454

5555
def add_sparksql_methods(cls, prefix=''):
56-
add_methods(cls=cls, hg=hg_fill_sparksqlm, prefix=prefix)
56+
add_methods(cls=cls, hg=hg_fill_sparksql, prefix=prefix)
5757

5858

5959
def add_pandas_methods(cls, prefix=''):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
MAJOR = 1
2424
REVISION = 0
25-
PATCH = 22
25+
PATCH = 23
2626
DEV = False
2727
# NOTE: also update version at: README.rst
2828

tests/test_pandas_histogrammar.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def test_make_histograms_no_time_axis():
9696
assert time_axis == ""
9797
assert "date" in hists
9898
h = hists["date"]
99-
assert h.binWidth == 751582381944440.9
99+
assert h.binWidth == 751582381944448.0
100100
for cols in features:
101101
cols = cols.split(":")
102102
assert len(cols) == 1
@@ -121,23 +121,23 @@ def test_make_histograms_with_time_axis():
121121
assert time_axis == "date"
122122
assert "date:age" in hists
123123
h = hists["date:age"]
124-
assert h.binWidth == 751582381944440.9
124+
assert h.binWidth == 751582381944448.0
125125
for cols in features:
126126
cols = cols.split(":")
127127
assert len(cols) == 2 and cols[0] == "date"
128128
for f, bs in bin_specs.items():
129129
assert len(bs) == 2
130130
assert "date:age" in bin_specs
131131
dateage = bin_specs["date:age"]
132-
assert dateage[0]["binWidth"] == 751582381944440.9
132+
assert dateage[0]["binWidth"] == 751582381944448.0
133133
assert dateage[1]["binWidth"] == 2.0
134134
assert dateage[1]["origin"] == 9.5
135135

136136
# test get_bin_specs 1
137137
bin_specs = get_bin_specs(hists)
138138
assert "date:age" in bin_specs
139139
dateage = bin_specs["date:age"]
140-
assert dateage[0]["binWidth"] == 751582381944440.9
140+
assert dateage[0]["binWidth"] == 751582381944448.0
141141
assert dateage[1]["binWidth"] == 2.0
142142
assert dateage[1]["origin"] == 9.5
143143

@@ -150,7 +150,7 @@ def test_make_histograms_with_time_axis():
150150

151151
# test get_bin_specs 3
152152
bin_specs = get_bin_specs(hists["date:age"])
153-
assert bin_specs[0]["binWidth"] == 751582381944440.9
153+
assert bin_specs[0]["binWidth"] == 751582381944448.0
154154
assert bin_specs[1]["binWidth"] == 2.0
155155
assert bin_specs[1]["origin"] == 9.5
156156

0 commit comments

Comments
 (0)