ElectronicRadialDistributionFunction

20 views
Skip to first unread message

Nahom Aymere

unread,
May 29, 2019, 5:26:46 AM5/29/19
to matminer
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 "<stdin>", line 1, in <module>
TypeError: featurize_dataframe() missing 1 required positional argument: 'col_id'


Logan Ward

unread,
May 29, 2019, 7:34:52 AM5/29/19
to Nahom Aymere, matminer
Hello Nahom,

You are missing the parentheses at the end of the second line.

It should be: "erdf_feat = ElectronicRadialDistributionFunction()"

Best,
Logan


--
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 matminer+u...@googlegroups.com.
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.

Nahom Aymere

unread,
May 29, 2019, 7:41:39 AM5/29/19
to matminer
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 <aymer...@gmail.com> 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 "<stdin>", line 1, in <module>
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 matm...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages