Skip to content

Commit 09b262c

Browse files
committed
generator: Do not use deprecated np.str type
See https://numpy.org/doc/stable/release/1.20.0-notes.html#deprecations
1 parent 9918bb5 commit 09b262c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

generator/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def process_file(filename, namedtup):
248248
# Mapping is: All elements of the line grouped by the first column
249249

250250
path = os.path.join(csv_dir, filename)
251-
df = pd.read_csv(path, comment='#', dtype=np.str)
251+
df = pd.read_csv(path, comment='#', dtype=str)
252252
df = df.fillna("")
253253

254254
lines = [ list(r) for _i, r in df.iterrows() ]

0 commit comments

Comments
 (0)