No, but the value is sometimes:

type(key): <type 'str'> type(value): <type 'bool'>
type(key): <type 'str'> type(value): <type 'bool'>
type(key): <type 'str'> type(value): <type 'numpy.ndarray'>
type(key): <type 'str'> type(value): <type 'bool'>
type(key): <type 'str'> type(value): <type 'numpy.ndarray'>
type(key): <type 'str'> type(value): <type 'bool'>
type(key): <type 'str'> type(value): <type 'numpy.ndarray'>
type(key): <type 'str'> type(value): <type 'bool'>
type(key): <type 'str'> type(value): <type 'bool'>
type(key): <type 'str'> type(value): <type 'bool'>
type(key): <type 'str'> type(value): <type 'str'>
type(key): <type 'str'> type(value): <type 'numpy.ndarray'>
type(key): <type 'str'> type(value): <type 'bool'>
type(key): <type 'str'> type(value): <type 'bool'>
type(key): <type 'str'> type(value): <type 'bool'>
type(key): <type 'str'> type(value): <type 'str'>
type(key): <type 'str'> type(value): <type 'numpy.ndarray'>
type(key): <type 'str'> type(value): <type 'bool'>
type(key): <type 'str'> type(value): <type 'bool'>
type(key): <type 'str'> type(value): <type 'bool'>
type(key): <type 'str'> type(value): <type 'str'>
type(key): <type 'str'> type(value): <type 'numpy.ndarray'>
type(key): <type 'str'> type(value): <type 'bool'>
type(key): <type 'str'> type(value): <type 'bool’>


> 
> Is your key an array? dict get/set operations do == tests on keys.
> 
> -n
> 
> -- 
> Nathaniel J. Smith
> Postdoctoral researcher - Informatics - University of Edinburgh
> http://vorpus.org

_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to