Delete row from tabulator

import numpy as np
import panel as pn
import pandas as pd
import datetime as dt

def append_data(follow=True):
    stream_df = pd.DataFrame(np.random.randn(10, 5), columns=list('ABCDE')), follow=follow)

stream_df = pd.DataFrame(np.random.randn(10, 5), columns=list('ABCDE'))

stream_table = pn.widgets.Tabulator(stream_df, layout='fit_columns', width=450)

How do I delete rows from tabulator? Above shows adding rows

I don’t know of a dedicated, efficient method. But you can always replace the whole data frame.

Deleting one or more rows via an index would make sense as a Feature Request I think.

1 Like