Skip to content

Commit

Permalink
Added u to copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoxbro committed Nov 27, 2021
1 parent 35dd2ba commit 4627278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/operation/datashader.py
Expand Up @@ -420,7 +420,7 @@ def get_agg_data(cls, obj, category=None):

is_custom = isinstance(df, dd.DataFrame) or cuDFInterface.applies(df)
if any((not is_custom and len(df[d.name]) and isinstance(df[d.name].values[0], cftime_types)) or
df[d.name].dtype.kind == 'M' for d in (x, y)):
df[d.name].dtype.kind in ["M", "u"] for d in (x, y)):
df = df.copy()

for d in (x, y):
Expand Down

0 comments on commit 4627278

Please sign in to comment.