What's the best way to communicate array values as part of a minimal example in a python question on StackOverflow or Github? R has the function dump(), which produces a text representation of an object that can then be loaded back into an R session using source(). Two lines of R code and someone else has access to the numbers/object/whatever I'm working with.
I want to raise an issue at the holoviews/geoviews GitHub repo about some problems I'm having making regional plots of gridded data. I suspect that the problem is partially related to nature of my grid, which is a 36x36 irregularly-spaced array of latitudes and longitudes.
Since it's not that many points I'm thinking it's probably easiest to simply include these coordinates in my question/issue. I can probably figure out something with fromstring() and reshape(). I wondered if there's a more concise way to do it.