We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 673c19c commit f4b64cbCopy full SHA for f4b64cb
packages/python/plotly/plotly/express/_core.py
@@ -1633,15 +1633,6 @@ def _check_dataframe_all_leaves(df):
1633
"None entries cannot have not-None children",
1634
df_sorted.iloc[null_row_index],
1635
)
1636
- df_sorted[null_mask] = ""
1637
- row_strings = list(df_sorted.apply(lambda x: "".join(x), axis=1))
1638
- for i, row in enumerate(row_strings[:-1]):
1639
- if row_strings[i + 1] in row and (i + 1) in null_indices:
1640
- raise ValueError(
1641
- "Non-leaves rows are not permitted in the dataframe \n",
1642
- df_sorted.iloc[i + 1],
1643
- "is not a leaf.",
1644
- )
1645
1646
1647
def process_dataframe_hierarchy(args):
0 commit comments