Skip to content

Commit

Permalink
Set to unbounded impl; tests pass.
Browse files Browse the repository at this point in the history
  • Loading branch information
alxmrs committed Feb 15, 2024
1 parent 8d543de commit a6c0d77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qarray/df.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def to_dd(ds: xr.Dataset) -> dd.DataFrame:
divisions = tuple(np.cumsum([0] + block_lengths)) # 0 ==> start partition.

def f(b: t.Dict[str, slice]) -> pd.DataFrame:
return to_pd(ds.isel(b))
return to_pd(ds.isel(b), bounded=False)

return from_map(
f,
Expand Down
3 changes: 1 addition & 2 deletions qarray/df_test.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import itertools
import unittest

import numpy as np
import pandas as pd
import dask.dataframe as dd
import numpy as np
import xarray as xr

from .df import explode, to_dd
Expand Down
1 change: 1 addition & 0 deletions qarray/sql_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import unittest

from dask_sql import Context

from .df import to_dd
Expand Down

0 comments on commit a6c0d77

Please sign in to comment.