Skip to content

Commit 1394e9b

Browse files
committed
fix(regNo): use string dtype
More appropriate, also there is a bug in map/apply that converts ints to floats and thus making URLs invalid. pandas-dev/pandas#57189
1 parent 42ab77a commit 1394e9b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

iranetf/__init__.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,7 @@ def load_dataset(*, site=True, inst=False) -> _DataFrame:
434434
'name': 'string',
435435
'type': 'category',
436436
'insCode': 'string',
437-
# in case there is an ETF not registered on fipiran
438-
'regNo': 'Int64',
437+
'regNo': 'string',
439438
'url': 'string',
440439
'siteType': 'category',
441440
},

0 commit comments

Comments
 (0)