opengridcc / opengrid-dev

Open source building monitoring, analysis and control
Apache License 2.0
26 stars 21 forks source link

Multivar Regression: Escape special characters in column names #202

Open JrtPec opened 7 years ago

JrtPec commented 7 years ago

So I'm trying a Multivar Regression, with a data column called "primair+pv". Apparently the mathematical model builder doesn't like the +.

PatsyError: Error evaluating factor: NameError: name 'pv' is not defined primair+pv ~ 1

We should look at escaping these special characters.

saroele commented 7 years ago

ok, that's indeed an expected issue. I'll have to look into this, challenge accepted :-)

On Sat, May 13, 2017 at 6:11 PM, Jan Pecinovsky notifications@github.com wrote:

Assigned #202 https://github.com/opengridcc/opengrid/issues/202 to @saroele https://github.com/saroele.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/opengridcc/opengrid/issues/202#event-1081031827, or mute the thread https://github.com/notifications/unsubscribe-auth/AAiVBpPR9G3lYL5g30IwRTkPQBordhc6ks5r5dY1gaJpZM4NaHVm .