Hey guys,
I can't find any documentation on how to use the python widget.
I've read the documentation on the site already. It didn't provide me any insight on actually implementing it and the Schema tab is far too confusing. I don't even know why I would import all my selected columns if I'm going to be creating another dataframe.
I've gotten as far as importing my content but when it comes to implementing a code and previewing what it looks like, I get an error, "ValueError: domomagic: Argument must be a pandas.DataFrame with at least one column."
My script is the following. I've already added all my columns in the schema and imported my 'original' dataset. It says to "write a data frame so it's available to the next action" so I repeated the step for my 'index_o' and it doesn't work.
There are no nulls in my dataset, columns are numerical and nominal data.
# Import the domomagic package into the script
from domomagic import *
from pandas import *
# read data from inputs into a data frame
original = read_dataframe('original')
# write your script here
index_o = acceptValFrame.index
# write a data frame so it's available to the next action
#write_dataframe(original)
write_dataframe(index_o)
I really wish there was a video going into this, I'm the kind of person that needs to see it in action, not just words, so long pages with just the very basics and no detail into applying the library available won't help me :(
Can someone provide examples that is beyond the documentation on domo with packages being applied?