I want to construct a table in which n-grams appear as a column and the row numbers of the dataframe from which they were constructed.
For example, the below code was