Skip to content

Commit

Permalink
Delete
Browse files Browse the repository at this point in the history
  • Loading branch information
ecomodeller committed Aug 7, 2024
1 parent db17fad commit 720612d
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions docs/user-guide/dfs0.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,6 @@ df = pd.read_csv(
df.to_dfs0("mauna_loa_co2.dfs0")
```

```{python}
import polars as pl
import mikeio
from datetime import datetime
df = pl.DataFrame(
{
"time": [datetime(2021, 1, 1), datetime(2021, 1, 2)],
"A": [1.0, 2.0],
"B": [4.0, 5.0],
}
)
ds = mikeio.from_polars(
df,
items={
"A": mikeio.ItemInfo(mikeio.EUMType.Water_Level),
"B": mikeio.ItemInfo(mikeio.EUMType.Discharge),
},
)
ds
```

## Dfs0 example notebooks

Expand Down

0 comments on commit 720612d

Please sign in to comment.