forked from rmcelreath/statrethinking_winter2019
-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
I was getting a TypeError on this line even though you had casted the column to an Int64 already.
| " #married = pm.Data('married', d['married'].values)\n", |
For some reason casting to Int64 does not make a numpy typed series and causes Theano to freak out. Just changing this cast to astype('int') here solves the issue.
| "d['married'] = d['married'].astype('Int64')" |
I'll submit a PR later unless you get to this first 😄
Metadata
Metadata
Assignees
Labels
No labels