Open saiwing-yeung opened 2 years ago
I noticed that some Python code might not run as is. For example, in https://github.com/scunning1975/mixtape/blob/master/python/synth_1.py, it looks like we need:
robjects
IntVector
plt
pandas2ri
pandas2ri.activate()
texas
I have only looked at the code from the synthetic control chapter. I can make a PR for this.
I noticed that some Python code might not run as is. For example, in https://github.com/scunning1975/mixtape/blob/master/python/synth_1.py, it looks like we need:
robjects
,IntVector
,plt
pandas2ri
and callpandas2ri.activate()
so that the dataframetexas
would get convertedI have only looked at the code from the synthetic control chapter. I can make a PR for this.