when I run ''mictools null $X $ODIR/null_dist.txt''but encountered the following error:
AttributeError: 'DataFrame' object has no attribute 'as_matrix'
Any suggestions?
None: 142
Traceback (most recent call last):
File "/usr/local/bin/mictools", line 11, in
load_entry_point('mictools==1.0.1', 'console_scripts', 'mictools')()
File "/home/yc/.local/lib/python3.6/site-packages/click/core.py", line 764, in call
return self.main(args, kwargs)
File "/home/yc/.local/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/yc/.local/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/yc/.local/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, ctx.params)
File "/home/yc/.local/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/mictools-1.0.1-py3.6.egg/scripts/mictools_cmd.py", line 101, in null
File "/usr/local/lib/python3.6/dist-packages/mictools-1.0.1-py3.6.egg/mictools/null.py", line 134, in null_cmd
File "/usr/local/lib/python3.6/dist-packages/mictools-1.0.1-py3.6.egg/mictools/null.py", line 100, in compute_null
File "/usr/local/lib/python3.6/dist-packages/mictools-1.0.1-py3.6.egg/mictools/null.py", line 40, in compute_null_oneclass
File "/home/yc/.local/lib/python3.6/site-packages/pandas/core/generic.py", line 5274, in getattr
return object.getattribute(self, name)
AttributeError: 'DataFrame' object has no attribute 'as_matrix'
when I run ''mictools null $X $ODIR/null_dist.txt''but encountered the following error: AttributeError: 'DataFrame' object has no attribute 'as_matrix' Any suggestions?