Commit ec167a7
committed
Collapse values into a dtyped array if possible
This way variables of previously unknown shape have a higher
chance of resulting in arrays with well-defined dtype.
Resolves a bug where `.to_inferencedata()` failed
because of `dtype=object` arrays in sample stats.1 parent 7a0c6ce commit ec167a7
1 file changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
196 | 205 | | |
197 | 206 | | |
198 | 207 | | |
| |||
0 commit comments