# Skip null values in Parallel Categories or Sankey diagram

**URL:** <https://community.plotly.com/t/skip-null-values-in-parallel-categories-or-sankey-diagram/57001>\
**Category:** 📊 Plotly Python\
**Created:** [September 25, 2021, 2:33pm UTC](https://community.plotly.com/t/skip-null-values-in-parallel-categories-or-sankey-diagram/57001 "2021-09-25T14:33:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jloomis](https://avatars.discourse-cdn.com/v4/letter/j/bbce88/32.png) [@jloomis](https://community.plotly.com/u/jloomis)\
**Post date:** [September 25, 2021, 2:33pm UTC](https://community.plotly.com/t/skip-null-values-in-parallel-categories-or-sankey-diagram/57001/1 "2021-09-25T14:33:16Z")

</div>

I know this has been asked before, but from what I can find it hasn’t been answered yet.

Is it possible to ignore null values in a dataframe when plotting either a Parallel Categories plot or a Sankey diagram?

My data splits at a decision; one group continues with another decision while the other group terminates. My dataframe has null values present for the group that terminates. Is it possible to ignore them when I generate the plot, so there isn’t a path that goes from the last decision to a null decision?
