Closed nickvandewiele closed 6 years ago
Hi @nickvandewiele ! I've been refactoring that interface a bit leading up to the next release. You now have to pass z=['z1', 'z2'], z_types={'z1': 'c', 'z2': 'c'}
. I know it's slightly redundant, but in order to allow arbitrary model types in the next release, we need an ordering on the z variables.
From: https://medium.com/@akelleh/causal-inference-with-pandas-dataframes-fc3e64fce5d
I believe I did this:
X.zplot(x='x', y='y', z={'z1': 'c', 'z2': 'c'}, kind='line', model_type='kernel')
(awesome blog post btw!)