Skip to content

Instantly share code, notes, and snippets.

@yohanesnuwara
Created July 3, 2021 10:53
Show Gist options
  • Save yohanesnuwara/e27da211245d90742d6c7d756e184817 to your computer and use it in GitHub Desktop.
Save yohanesnuwara/e27da211245d90742d6c7d756e184817 to your computer and use it in GitHub Desktop.
Creating a superdataframe
import idm
# Combine trajectory and drilling data
df_data, df_new = traj_df, drill_df # trajectory and realtime drilling data
xdata, xnew = "md", "Depth"
ydata = ["surfNs", "surfEw", "TVD_calc"]
merge1_df = idm.merge_data_interpolation(df_data, df_new, xdata, ydata, xnew)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment