Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit 6fc6c62

Browse files
committed
Fix #63
1 parent af9c422 commit 6fc6c62

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

root_pandas/readwrite.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ def expand_braces(orig):
8181

8282

8383
def get_nonscalar_columns(array):
84+
if len(array) == 0:
85+
return []
86+
8487
first_row = array[0]
8588
bad_cols = np.array([x.ndim != 0 for x in first_row])
8689
col_names = np.array(array.dtype.names)

0 commit comments

Comments
 (0)