Skip to content

Commit

Permalink
MAINT: Remove dtype np.integer for avoid Dep Warning
Browse files Browse the repository at this point in the history
Replace with int64 which is the default on most systems
  • Loading branch information
Kevin Sheppard committed May 17, 2020
1 parent 6095d78 commit f479e2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statsmodels/genmod/bayes_mixed_glm.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def from_formula(cls,
mat = patsy.dmatrix(fml, data, return_type='dataframe')
exog_vc.append(mat)
vcp_names.append(na)
ident.append(j * np.ones(mat.shape[1], dtype=np.integer))
ident.append(j * np.ones(mat.shape[1], dtype=np.int64))
j += 1
exog_vc = pd.concat(exog_vc, axis=1)
vc_names = exog_vc.columns.tolist()
Expand Down

0 comments on commit f479e2f

Please sign in to comment.