Copy source dataframe

master
Dan Howe 3 years ago
parent f21a6b31c3
commit 28ad83405f

@ -471,7 +471,7 @@ def process(beach_name, beach_scenario, n_runs, start_year, end_year,
pbar_year.set_description('Year: {}'.format(year)) pbar_year.set_description('Year: {}'.format(year))
# Create output dataframe # Create output dataframe
df_out = df_in[['beach', 'block', 'profile']] df_out = df_in[['beach', 'block', 'profile']].copy()
df_out['block'] = df_out['block'].astype(str) df_out['block'] = df_out['block'].astype(str)
# Add info on non-erodable sections # Add info on non-erodable sections

Loading…
Cancel
Save