Description
Since pandas
is now a core requirement it makes sense to support dataframes where recarrays or lists of lists/tuples are currently required.
Context:
Originally posted by kimlee100 September 15, 2022
Hello,
I rewriting MNW2 package by modifying some wells. Following the MNW2 example, I converted to numpy array both node_data and stress_period_data, however when I try to create MNW2 object it is giving an error that node_data has no dtype. Checked data types and they are quite similar to the ones in the example. Can you suggest why it is not creating an object?
You have to convert the node data to a recarray. From the error node_data is a dataframe so do the following:
node_data = node_data.to_records()
Originally posted by @p-ortega in #1541 (comment)