[Numpy-discussion] Multiplicity of an entry
Mon Oct 26 03:04:16 CDT 2009
how can I obtain the multiplicity of an entry in a list
a = ['abc','def','abc','ghij']
The multiplicity of 'abc' is 2.
'def' is 1.
'ghij' is 1.
More information about the NumPy-Discussion