fromList
Issue #7
closed
Originally reported on Google Code with ID 7
One feature I miss is create a distribution from a list.
Reported by dtrillo
on 2014-11-24 16:14:48
Comments (8)
-
Account Deleted -
Account Deleted Tutorial wiki page has been updated with examples on this topic.
Reported by
pde@n-side.com
on 2014-11-25 23:35:13 - Status changed:Accepted
-
Account Deleted Why don't you simply add a method: def fromList(you_list): return Lea.fromVals(*your_list) It's simple, and it let users to use list! I reject using LEA because I couldn't get a simple method that use a list. My thought was: if I coundn't, I leave it. List is almost the only objets I use in Python!
Reported by
dtrillo
on 2014-11-27 10:54:51 -
Account Deleted OK. This is then a "convenience" method. I will add this in forthcoming version 2. For the sake of generality I propose to call this method fromSeq(...) because it could be used not only with lists, but any Python sequence (lists, tuples, iterators, ...).
Reported by
pde@n-side.com
on 2014-12-16 18:04:24 -
Account Deleted Reported by
pde@n-side.com
on 2014-12-16 18:04:52 - Status changed:Started
-
Account Deleted Done in Lea 2
Reported by
pde@n-side.com
on 2014-12-25 23:08:02 - Status changed:Verified
-
Account Deleted Reported by
pde@n-side.com
on 2015-07-17 13:02:38 - Labels added: Type-Enhancement - Labels removed: Type-Defect -
repo owner - changed status to closed
- Log in to comment
Reported by
pde@n-side.com
on 2014-11-25 23:20:49 - Status changed:Invalid