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
This inconsistency in quotation marks used in the output caused some troubles when post-processing/cleaning terms' names etc. I understand the output is consistent with the input, but it might be beneficial to standardise the output here (as in "C(a, Treatment('a1'))" -> 'C(a, Treatment("a1"))').
This seems loosely related to e.g. #40 with its long categorical names, and if the answer is similar, i.e. better not to fix things that aren't broken, maybe this can at least be mentioned in the docs? Happy to make w PR for that.
Edit:
patsy 0.5.1
Python 2.7.5 (I know...)
The text was updated successfully, but these errors were encountered:
We've recently ran into a pretty silly problem with terms naming when using the
Treatment
scheme, see below:Imports and data prep.:
Skipping the full printout, 1) gives the following terms' names:
while 2):
This inconsistency in quotation marks used in the output caused some troubles when post-processing/cleaning terms' names etc. I understand the output is consistent with the input, but it might be beneficial to standardise the output here (as in
"C(a, Treatment('a1'))"
->'C(a, Treatment("a1"))'
).This seems loosely related to e.g. #40 with its long categorical names, and if the answer is similar, i.e. better not to fix things that aren't broken, maybe this can at least be mentioned in the docs? Happy to make w PR for that.
Edit:
patsy 0.5.1
Python 2.7.5 (I know...)
The text was updated successfully, but these errors were encountered: