Skip to content

Commit 16fbb70

Browse files
committed
Bump to 0.3.0
1 parent e7c21ad commit 16fbb70

File tree

5 files changed

+19
-4
lines changed

5 files changed

+19
-4
lines changed

doc/changes.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ Changes
66
v0.3.0
77
------
88

9+
* New stateful transforms for computing natural and cylic cubic
10+
splines with constraints, and tensor spline bases with
11+
constraints. (Thanks to `@broessli <https://github.com/broessli>`
12+
and GDF Suez for contributing this code.)
13+
14+
* Dropped support for Python 2.5 and earlier.
15+
16+
* Switched to using a single source tree for both Python 2 and Python
17+
3.
18+
19+
* Added a fast-path to skip NA detection for inputs with boolean
20+
dtypes (thanks to Matt Davis for patch).
21+
922
* Incompatible change: Sometimes when building a design matrix for a
1023
formula that does not depend on the data in any way, like ``"1 ~
1124
1"``, we have no way to determine how many rows the resulting matrix
@@ -21,7 +34,8 @@ v0.3.0
2134
:class:`pandas.DataFrame`, then we now check its number of rows and
2235
index, and insist that the output design matrices match. This also
2336
means that if ``data`` is a DataFrame, then the error described in
24-
the first bullet above cannot occur.
37+
the first bullet above cannot occur -- we will simply return a
38+
column of 1s that is the same size as the input dataframe.
2539

2640
* Worked around some more limitations in py2exe/py2app and friends.
2741

doc/overview.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ high-level interface to their statistical code:
127127
* `PyMC3 <https://github.com/pymc-devs/pymc/tree/pymc3/>`_ (`tutorial <http://twiecki.github.io/blog/2013/09/12/bayesian-glms-1/>`_)
128128
* `HDDM <https://github.com/hddm-devs/hddm>`_
129129
* `rERPy <https://github.com/rerpy/rerpy>`_
130+
* `UrbanSim <https://github.com/synthicity/urbansim>`_
130131

131132
If you'd like your project to appear here, see our documentation for
132133
:ref:`library developers <library-developers>`!

patsy/mgcv_cubic_splines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,4 +1077,4 @@ def test_te_3smooths():
10771077
builder = incr_dbuilder("te(cr(x1, df=3), cr(x2, df=3), cc(x3, df=3)) - 1",
10781078
lambda: iter(data_chunked))
10791079
design_matrix = build_design_matrices([builder], new_data)[0]
1080-
assert np.allclose(design_matrix, design_matrix_R, rtol=1e-12, atol=0.)
1080+
assert np.allclose(design_matrix, design_matrix_R, rtol=1e-12, atol=0.)

patsy/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
# "foo", which is what we want for a dev version. (Compare to "foo.dev0",
2121
# which sorts *before* "foo".)
2222

23-
__version__ = "0.2.1-dev"
23+
__version__ = "0.3.0"

release-checklist.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* make sure appropriate ..versionadded:: directives are present
44
* make sure docs are up to date
55
* verify that the ">97% coverage" claim in overview.rst is still true.
6-
* cd docs; make html -- check that there are no warnings
6+
* cd docs; make clean html -- check that there are no warnings
77
* check MANIFEST.in
88
* update version in doc/changes.rst, patsy/version.py
99
* make sure there are no uncommitted changes

0 commit comments

Comments
 (0)