Skip to content

Commit

Permalink
Update docs to use from_pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
ecomodeller committed Aug 12, 2024
1 parent a2dc383 commit 942d75c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/user-guide/dfs0.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ import pandas as pd
df = pd.read_csv(
"../data/co2-mm-mlo.csv", parse_dates=True, index_col="Date", na_values=-99.99
)
df.to_dfs0("mauna_loa_co2.dfs0")
ds = mikeio.from_pandas(df)
ds.to_dfs("mauna_loa_co2.dfs0")
```


Expand Down

0 comments on commit 942d75c

Please sign in to comment.