striplog
striplog copied to clipboard
Add easy ways to get to/from `pandas`
I don't think I want to completely wrap pandas like, say, GeoPandas does. But it would be useful to have methods for getting LASReader (NumPy structured array) curve data into and out of pandas.
E.g. nice application of pandas with well logs, see Alessandro's TLE tutorials, April and June 2015.
Has this functionality been added (bit of an old issue, and maybe I have missed it?).
The only mention of pandas I came across is the petrel io function
@ThirstyGeo not yet, but we are looking at improving the IO facilities generally at the moment. I am not sure how to do this without wrapping pandas or making it a dependency, which we would like to avoid. Someone is taking a look at a to_dictionary method though, which would in theory allow for easy conversion into a dataframe. Not sure what the timeframe on that one is though.
See https://gist.github.com/kwinkunks/28634d462769f5dbe431e76f15dbbe3a