Oct-05-2018, 06:18 PM
First, can someone please show the proper code for creating a 5 row 2 column numpy array with type python object?
I see a lot of info online but none of it seems to quite show how to do that in one example.
Second,
If I want to have a string for a key and a number for a value, is Dictionary faster or is it really worth it to to build a numpy array? There will be over 450 000 keys btw. I'm doing quadragrams.
Thanks
I see a lot of info online but none of it seems to quite show how to do that in one example.
Second,
If I want to have a string for a key and a number for a value, is Dictionary faster or is it really worth it to to build a numpy array? There will be over 450 000 keys btw. I'm doing quadragrams.
Thanks