(row_tup)
| 2348 | "system default.", |
| 2349 | np.VisibleDeprecationWarning, stacklevel=2) |
| 2350 | def encode_unicode_cols(row_tup): |
| 2351 | row = list(row_tup) |
| 2352 | for i in strcolidx: |
| 2353 | row[i] = row[i].encode('latin1') |
| 2354 | return tuple(row) |
| 2355 | |
| 2356 | try: |
| 2357 | data = [encode_unicode_cols(r) for r in data] |