Skip to content

Commit

Permalink
Drop cols if None or empty string (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
jshinm committed Dec 23, 2022
1 parent 86aa7f5 commit 2f35343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandarize/_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def parse(row, types=types, alias=alias):
items = []

for i, (idx, item) in enumerate(zip(row.index, row)):
if pd.isnull(item):
if pd.isnull(item) or item == '':
continue
item = str(item)
if idx == types:
Expand Down

0 comments on commit 2f35343

Please sign in to comment.