[Python-Dev] AutoNumber Enum
wes.turner at gmail.com
Thu Jun 30 02:33:22 EDT 2016
It may be worth mentioning that pandas Categoricals are mutable and
Serialization to SQL and CSV is (also?) lossy, though:
On 06/29/2016 03:40 PM, Roberto Martínez wrote:
Why the 'start' parameter default is 1? 0 (zero) is more consistent with
> other parts of the language: indexes, enumerate, range...
An excerpt from :
The reason for defaulting to 1 as the starting number and not 0 is that 0
> is False in a boolean sense, but enum members all evaluate to True.
Python-Dev mailing list
Python-Dev at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev