Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read DataFrames, Striplog.from_df() #160

Open
DougiB opened this issue Jun 3, 2022 · 0 comments
Open

Read DataFrames, Striplog.from_df() #160

DougiB opened this issue Jun 3, 2022 · 0 comments

Comments

@DougiB
Copy link

DougiB commented Jun 3, 2022

As I am loading large project information with various locations from a single Excel file, I am using pandas to filter my information and per location. This allows me to speed up my looping through the data. However, if I then want to create a striplog I have to create and save temporary CSV file for that location, reload it and then do strip = Striplog.from_cvs().

Would it be possible to allow Striplog to read DataFrames? I thought it could be something like the following:
df_geology = pd.read_excel()
strip = Striplog.from_df(df_geology, base = "col1", top = "col2", comp_formation = "col3", description = "col4")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant