You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am uncertain how to properly specify missing continuous data in my pandas data frame for use by pycausal search. Specifically, if I am trying to search over multiple data sets and some data sets do not have values for some variables. Is this possible? I have tried numpy.nan, "?", "*" as well as empty pandas.Series
I receive an error like:
Exception in thread "Thread-0" edu.pitt.dbmi.data.reader.DataReaderException: Insufficient data on line 2. Extracted 35 value(s) but expected 44.
at edu.pitt.dbmi.data.reader.tabular.TabularDataFileReader.determineDiscreteDataColumns(TabularDataFileReader.java:178)
at edu.pitt.dbmi.data.reader.tabular.MixedTabularDatasetFileReader.readInData(MixedTabularDatasetFileReader.java:74)
at edu.pitt.dbmi.data.reader.tabular.MixedTabularDatasetFileReader.readInData(MixedTabularDatasetFileReader.java:55)
Traceback (most recent call last):
File "", line 1, in
File "/home/dana.mastrovito/.conda/envs/pytorch1.7.0/lib/python3.8/site-packages/pycausal/search.py", line 250, in run
dataset = pc.loadMixedData(df, numCategoriesToDiscretize)
File "/home/dana.mastrovito/.conda/envs/pytorch1.7.0/lib/python3.8/site-packages/pycausal/pycausal.py", line 128, in loadMixedData
tetradData = dataReader.readInData()
File "/home/dana.mastrovito/.conda/envs/pytorch1.7.0/lib/python3.8/site-packages/javabridge/wrappers.py", line 69, in
fn = lambda naame=name: lambda *args: self.__call(naame, *args)
File "/home/dana.mastrovito/.conda/envs/pytorch1.7.0/lib/python3.8/site-packages/javabridge/wrappers.py", line 155, in __call
result = J.call(self.o, method_name, msig, *cargs)
File "/home/dana.mastrovito/.conda/envs/pytorch1.7.0/lib/python3.8/site-packages/javabridge/jutil.py", line 892, in call
result = fn(*nice_args)
File "/home/dana.mastrovito/.conda/envs/pytorch1.7.0/lib/python3.8/site-packages/javabridge/jutil.py", line 859, in fn
raise JavaException(x)
javabridge.jutil.JavaException: Insufficient data on line 2. Extracted 35 value(s) but expected 44.
The text was updated successfully, but these errors were encountered:
Hello, I am uncertain how to properly specify missing continuous data in my pandas data frame for use by pycausal search. Specifically, if I am trying to search over multiple data sets and some data sets do not have values for some variables. Is this possible? I have tried numpy.nan, "?", "*" as well as empty pandas.Series
I receive an error like:
Exception in thread "Thread-0" edu.pitt.dbmi.data.reader.DataReaderException: Insufficient data on line 2. Extracted 35 value(s) but expected 44.
at edu.pitt.dbmi.data.reader.tabular.TabularDataFileReader.determineDiscreteDataColumns(TabularDataFileReader.java:178)
at edu.pitt.dbmi.data.reader.tabular.MixedTabularDatasetFileReader.readInData(MixedTabularDatasetFileReader.java:74)
at edu.pitt.dbmi.data.reader.tabular.MixedTabularDatasetFileReader.readInData(MixedTabularDatasetFileReader.java:55)
Traceback (most recent call last):
File "", line 1, in
File "/home/dana.mastrovito/.conda/envs/pytorch1.7.0/lib/python3.8/site-packages/pycausal/search.py", line 250, in run
dataset = pc.loadMixedData(df, numCategoriesToDiscretize)
File "/home/dana.mastrovito/.conda/envs/pytorch1.7.0/lib/python3.8/site-packages/pycausal/pycausal.py", line 128, in loadMixedData
tetradData = dataReader.readInData()
File "/home/dana.mastrovito/.conda/envs/pytorch1.7.0/lib/python3.8/site-packages/javabridge/wrappers.py", line 69, in
fn = lambda naame=name: lambda *args: self.__call(naame, *args)
File "/home/dana.mastrovito/.conda/envs/pytorch1.7.0/lib/python3.8/site-packages/javabridge/wrappers.py", line 155, in __call
result = J.call(self.o, method_name, msig, *cargs)
File "/home/dana.mastrovito/.conda/envs/pytorch1.7.0/lib/python3.8/site-packages/javabridge/jutil.py", line 892, in call
result = fn(*nice_args)
File "/home/dana.mastrovito/.conda/envs/pytorch1.7.0/lib/python3.8/site-packages/javabridge/jutil.py", line 859, in fn
raise JavaException(x)
javabridge.jutil.JavaException: Insufficient data on line 2. Extracted 35 value(s) but expected 44.
The text was updated successfully, but these errors were encountered: