Skip to content

Commit ebeb2c9

Browse files
committed
Use explicitely the default that was previously used
1 parent 91548cf commit ebeb2c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

traittypes/traittypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class Series(PandasType):
200200
info_text = 'a pandas series'
201201
dtype = None
202202

203-
def __init__(self, default_value=Empty, allow_none=False, dtype=np.float64, **kwargs):
203+
def __init__(self, default_value=Empty, allow_none=False, dtype=np.object_, **kwargs):
204204
if 'klass' not in kwargs and self.klass is None:
205205
import pandas as pd
206206
kwargs['klass'] = pd.Series

0 commit comments

Comments
 (0)