BUG : deal with empty list passed to boxplot

If a data list is empty, return a dict full of np.nan.

Closes #3569 and addresses part of
https://github.com/pydata/pandas/issues/8382