Skip to content

Commit

Permalink
code sample for pandas-dev#38645
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjayhawkins committed Dec 23, 2020
1 parent bfc2da2 commit 36a4183
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions bisect/38645.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import dask.array as da

import pandas as pd

print(pd.__version__)

a = da.ones((12,), chunks=4)

s = pd.Series(a, index=range(12))
print(s)

assert s.dtype == "float64"

0 comments on commit 36a4183

Please sign in to comment.