(input, size=0)
| 797 | # and basic kwargs work as expected for `from_map` |
| 798 | |
| 799 | def func(input, size=0): |
| 800 | # Simple function to create Series with a |
| 801 | # repeated value and index |
| 802 | value, index = input |
| 803 | return pd.Series([value] * size, index=[index] * size) |
| 804 | |
| 805 | iterable = [(vals[0], 1), (vals[1], 2)] |
| 806 | ser = dd.from_map(func, iterable, size=2) |
no outgoing calls
no test coverage detected