Bash Remove Empty Elements From Array To Dataframe