added removenan for series arrays with passing tests