Hi Aaron, and welcome! Your proposal would be a lot more interesting to me if I knew what this binary ~ would actually do, without having to go learn R or LaTeX.
You say: > I think it would be awesome to have in the language, as it would allow > modelling along the lines of R that we currently only get with text, > e.g.: > > smf.ols(formula='Lottery ~ Literacy + Wealth + Region', data=df) > > With a binary context for ~, we could write the above string as pure > Python I'm confused. Why can't you just write 'Lottery ~ Literacy + Wealth + Region' as a literal string? That's an exact copy and paste from your example, and it works for me. -- Steven _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/Z5PWWN2I2QKTXOM5CI4OIWOCHYBLETKU/ Code of Conduct: http://python.org/psf/codeofconduct/