Comments (4)
Must be an issue with transforming inputs! Ill debug. In the meantime, try setting
x=['OnAd']
from dowhy.
Hi! I am having the same problem with the following minimal example:
import pandas as pd
import dowhy.api
df = pd.DataFrame({'x': [0], 'y': [0], 'a': [0], 'b': [0]})
dd = df.causal.do(x='x', outcome='y', common_causes=['a', 'b'],
variable_types=dict(x='c', y='c', a='c', b='c'))
Using x=['x']
didn't help.
I am using dowhy version 0.2 and pandas 1.0.0 on Python 3.7.6.
from dowhy.
thanks @Tanmay-Kulkarni101 for providing a fix.
@alberto-santini does it work for you now?
from dowhy.
It does. Thanks @Tanmay-Kulkarni101 !
from dowhy.
Related Issues (20)
- estimate_effect() got an unexpected keyword argument 'num_quantiles_to_discretize_cont_cols'
- ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all(). HOT 1
- Support newer versions of Cython HOT 1
- Unexpected results for CATE methods when predicting on new data HOT 1
- Remove graph-learner API from DoWhy and point to causal-learn / dodiscover instead
- CausalModel's `view_model()` fails when dot is not installed HOT 1
- Clear documentation on identification methods HOT 2
- Backdoor path HOT 4
- Linear dataset functionality and parameters HOT 1
- Simple constraints for the SCM HOT 1
- How can I get more log messages from dowhy? HOT 4
- Identify effect not showing backdoor variable HOT 5
- numpy has no attribute 'long' HOT 1
- No common causes/confounders present. HOT 3
- Сausal effect for non-linear relationship HOT 1
- Compatability with networkx is broken HOT 8
- Continuous Treatment Variable HOT 1
- CausalEstimator reporting a 90% instead of 95% confidence interval for bootstrapping? HOT 5
- Hanging when refuting right after calculating confidence interval HOT 2
- Incomplete `method_name` argument documentation in `estimate_effect` HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dowhy.