Skip to content
Discussion options

You must be logged in to vote

Hi @ShannonShields-NOAA, it looks like this warning is occurring because the value from the VERSION column, e.g. V12.0.1, is being added to the model_num_df DataFrame, which has been initialized with np.nan, so it assumes that all of the values set are of dtype float64.

Since the values in the MET stat output can be type str or float64, you will need to create the model_num_df DataFrame to allow other dtypes.

I think you should be able remove this warning by adding the dtype=object argument to the function call on lines 4902-4903:

Change this:

        model_num_df = pd.DataFrame(np.nan, index=model_num_df_index,
                                    columns=met_version_line_type_col_list)

t…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@ShannonShields-NOAA
Comment options

@ShannonShields-NOAA
Comment options

@georgemccabe
Comment options

@ShannonShields-NOAA
Comment options

Answer selected by ShannonShields-NOAA
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@georgemccabe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: user support User support issue
3 participants