papermill
papermill copied to clipboard
integer keys in parameter dict converted to string
When I pass in a dictionary with integer keys as a parameter, these keys have been converted to strings when injected into the notebook. How can I prevent this conversion from happening?
Generally since we are processing JSON / YAML payloads and JSON does not support integer key indexes (https://stackoverflow.com/questions/8758715/using-number-as-index-json). It also complicates translating to typed systems if the keys aren't all strings. I don't have a clean / general solution to this for python notebooks atm.