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
{%setfh_args = {"_by": ["species"], "_c": ["sepal_width|avg"], "_sort": ["sepal_width|avg"]} %}{%setdf = U.gfilter(orgdf, fh_args.copy()) %}{%setfh_args = U.sanitize_fh_args(fh_args, orgdf) %}{# Do not edit above this line. #}
The {{ df["{{ fh_args['_by'][0] }}"].iloc[0] }} {{ fh_args['_by'][0] }} has the least average sepal_width.
The "virginica" token turns out to be a nested template - the correct value is {{ df["species"].iloc[0] }}. But "species" itself is another variable (right the next word) with value {{ fh_args['_by'][0] }}, and therefore gets re-templatized. This is because templates are added in the source text with str.replacehere.
They should instead be replaced by changing spacy tokens and forming new spacy docs.
The text was updated successfully, but these errors were encountered:
From the README example,
the auto-gen template turns out to be:
The
"virginica"
token turns out to be a nested template - the correct value is{{ df["species"].iloc[0] }}
. But"species"
itself is another variable (right the next word) with value{{ fh_args['_by'][0] }}
, and therefore gets re-templatized. This is because templates are added in the source text withstr.replace
here.They should instead be replaced by changing spacy tokens and forming new spacy docs.
The text was updated successfully, but these errors were encountered: