Fwd: Re: Heterogeneous numeric data in statistics library

accidentally sent off list. -CHB ---------- Forwarded message --------- From: Christopher Barker <pythonchb@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 <cs@cskk.id.au> On Thu, May 12, 2022 at 5:06 PM Cameron Simpson <cs@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
participants (1)
-
Christopher Barker