accidentally sent off list.

-CHB


---------- Forwarded message ---------
From: Christopher Barker <python...@gmail.com>
Date: Fri, May 13, 2022 at 8:14 PM
Subject: Re: [Python-ideas] Re: Heterogeneous numeric data in statistics
library
To: Cameron Simpson <c...@cskk.id.au>




On Thu, May 12, 2022 at 5:06 PM Cameron Simpson <c...@cskk.id.au

> - a rule like the above requiring homogeneous data
> - some convenience functions to produce homongenous data from mixed data


I was going to suggest the same thing: type casting can have non-obvious
effects, so explicit is better than implicit in this case.

Another option (which would be a shorthand for the above) would be an
optional parameter to specify the type you want used in the calculation.

-CHB



-- 
Christopher Barker, PhD (Chris)

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
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/4JZWWRFCO4R7T6MPCGZQDKR4EX46W6OA/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to