petrogg / basic-well-log-interpretation Goto Github PK
View Code? Open in Web Editor NEWBasic Well Log Interpretation with python, pandas, matplotlib
License: GNU General Public License v3.0
Basic Well Log Interpretation with python, pandas, matplotlib
License: GNU General Public License v3.0
Hi Mihai,
Thanks for a great repo ๐ I am working my way through it.
I just wanted to point out a few small issues:
data=data.replace('-999.00000',np.nan) is not correct and doesn't work it should be
data=data.replace(-999.00000,np.nan) because the values get imported as numbers you can check this by running data.dtypes
Also I'm not sure why you are specifying the index at the import because then the later rename lines don't make sense. I would do it like this:
data=pd.read_table('WA1.txt', delim_whitespace=True)
data=data.replace(-999.00000,np.nan)
data=data.rename(columns=({'M__DEPTH':'DEPT'}))
I would leave it at this since i prefer using the default index, but if you really want then you can set the index to be the DEPT column.
data.set_index('DEPT')
hope this makes sense, thanks again
when you define the vclgr function in the section In [15], the function parameters are gr_log, gr_clean, gr_clay, of course you declare them in the section In [23]: gr_clean, gr_clay, etc. My question is where do you declare gr_log, sp_log, neut_log, etc.?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.