NameError: name 'TabularList' is not defined


I am new to fastai. and I have been struggling to solve few errors by googling. Now I am finally stuck. I am very frustrated. I did try fastai 2 years ago and eventually gave up, now I am trying it again and almost give up again. Can anyone help me? Thank you so much

import fastai

from fastai import *
from fastai.tabular.all import *

data = (TabularList.from_df(df, 
                   .split_by_rand_pct(valid_pct=0.2, seed=42)

NameError                                 Traceback (most recent call last)
Input In [31], in <cell line: 1>()
----> 1 data = (TabularList.from_df(df, 
      2                             cat_names=cat_features,
      3                             cont_names=num_features, 
      4                             procs=preprocessing)
      5                    .split_by_rand_pct(valid_pct=0.2, seed=42)
      6                    .label_from_df(cols=DEP_VAR)
      7                    .databunch())

NameError: name 'TabularList' is not defined

use TabularPandas as per fastbook/09_tabular.ipynb at master · fastai/fastbook · GitHub
btw. which notebook do you follow? seems TabularList is not longer supported in fastai…