striplog icon indicating copy to clipboard operation
striplog copied to clipboard

Add easy ways to get to/from `pandas`

Open kwinkunks opened this issue 10 years ago • 3 comments

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.

kwinkunks avatar May 11 '15 14:05 kwinkunks

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 avatar Mar 15 '21 03:03 ThirstyGeo

@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.

mtb-za avatar Apr 21 '21 19:04 mtb-za

See https://gist.github.com/kwinkunks/28634d462769f5dbe431e76f15dbbe3a

kwinkunks avatar Apr 22 '22 17:04 kwinkunks