Well, Here's how it's done: https://www.google.com/search?client=firefox-b-1-d&q=Model+the+size+of+a+possible+oredeposit but be advised that I had a friend at LSU that got his PhD in Partial Differential Equations by building a model like this for a petroleum deposit. We hired him where I worked at the time but the petroleum industry stole him for an incredible salary the next year. HOWEVER I doubt that Python is up to doing this. You probably need a more specialized package. May the force be with you. David Booth
Take a look at A W Warwick’s classic book ‘Ore sampling in mines’. I think it’s a free Google book. Written over 100 years ago, well before computers, when one worried about rattlesnakes and not pythons in mines... Also take a look at: https://www.911metallurgist.com/ore-reserve-estimation-methods/