Skip to content

Commit

Permalink
from_pandas switch
Browse files Browse the repository at this point in the history
  • Loading branch information
dougbrn committed Jul 3, 2024
1 parent 9ba0f7c commit ddd764a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ def _generate_benchmark_data(add_nested=True):
layer_nf = npd.NestedFrame(data=layer_data).set_index("index").sort_index()

# Convert to Dask
base_nf = nd.NestedFrame.from_nested_pandas(base_nf).repartition(npartitions=5)
layer_nf = nd.NestedFrame.from_nested_pandas(layer_nf).repartition(npartitions=50)
base_nf = nd.NestedFrame.from_pandas(base_nf).repartition(npartitions=5)
layer_nf = nd.NestedFrame.from_pandas(layer_nf).repartition(npartitions=50)

# Return based on add_nested
if add_nested:
Expand Down

0 comments on commit ddd764a

Please sign in to comment.