Hello Logan,
I used many featurizers and they worked fine but when I tried using the featurizer ElectronicRadialDistributionFunction as follows:
from matminer.featurizers.structure import ElectronicRadialDistributionFunction
erdf_feat = ElectronicRadialDistributionFunction
df = erdf_feat.featurize_dataframe(df,“structure”)
------------------------------------- I get this error
Traceback (most recent call last):
File “”, line 1, in
TypeError: featurize_dataframe() missing 1 required positional argument: ‘col_id’
Hello Nahom,
You are missing the parentheses at the end of the second line.
It should be: “erdf_feat = ElectronicRadialDistributionFunction()”
Best,
Logan
···
On Wed, May 29, 2019, 5:26 AM Nahom Aymere [email protected] wrote:
Hello Logan,
I used many featurizers and they worked fine but when I tried using the featurizer ElectronicRadialDistributionFunction as follows:
from matminer.featurizers.structure import ElectronicRadialDistributionFunction
erdf_feat = ElectronicRadialDistributionFunction
df = erdf_feat.featurize_dataframe(df,“structure”)
------------------------------------- I get this error
Traceback (most recent call last):
File “”, line 1, in
TypeError: featurize_dataframe() missing 1 required positional argument: ‘col_id’
–
You received this message because you are subscribed to the Google Groups “matminer” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/matminer/447045a0-fde0-46f4-a69a-34d2cac24289%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello,
Oops, I don’t know how I missed that
Thanks logan
···
On Wednesday, May 29, 2019 at 2:34:52 PM UTC+3, Logan Ward wrote:
Hello Nahom,
You are missing the parentheses at the end of the second line.
It should be: “erdf_feat = ElectronicRadialDistributionFunction()”
Best,
Logan
On Wed, May 29, 2019, 5:26 AM Nahom Aymere [email protected] wrote:
Hello Logan,
I used many featurizers and they worked fine but when I tried using the featurizer ElectronicRadialDistributionFunction as follows:
from matminer.featurizers.structure import ElectronicRadialDistributionFunction
erdf_feat = ElectronicRadialDistributionFunction
df = erdf_feat.featurize_dataframe(df,“structure”)
------------------------------------- I get this error
Traceback (most recent call last):
File “”, line 1, in
TypeError: featurize_dataframe() missing 1 required positional argument: ‘col_id’
–
You received this message because you are subscribed to the Google Groups “matminer” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/matminer/447045a0-fde0-46f4-a69a-34d2cac24289%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.