# remove zero value for head and tail

**URL:** <https://forum.knime.com/t/remove-zero-value-for-head-and-tail/39033>\
**Category:** KNIME Analytics Platform\
**Created:** [January 24, 2022, 3:11pm UTC](https://forum.knime.com/t/remove-zero-value-for-head-and-tail/39033 "2022-01-24T15:11:01Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![goodvirus](https://forum-cdn.knime.com/user_avatar/forum.knime.com/goodvirus/32/35749_2.png) [@goodvirus](https://forum.knime.com/u/goodvirus)\
**Post date:** [January 25, 2022, 8:23am UTC](https://forum.knime.com/t/remove-zero-value-for-head-and-tail/39033/9 "2022-01-25T08:23:50Z")

</div>

Hi @victor_palacios,

I had a similar problem some time back [Find frist date with non zero value in a time series](https://forum.knime.com/t/find-frist-date-with-non-zero-value-in-a-time-series/29936) and there where a KNIME solution and a python script solution. Maybe you want to check this out. You can easily modify the scripting solution to also remove the tail.

Best Regards,

Paul

---

_[View the full topic](https://forum.knime.com/t/remove-zero-value-for-head-and-tail/39033)._
