Fake news detection, a numpy question

Hello everyone,
i am studying NLP models for Fake news Detection on Kaggle, and one of the notebooks that caught my attention was this one, in the notebook after dropping all unnecessary columns, he does this (blend the smoothie) which confused me since np.random.randit only takes 2 parameters, here he gave it 3 (0, len(df), len(df)) .
so please if somebody knows what he’s doing here, feel free to explain the whole code cell to me with boring details :sweat_smile: :pray:


1 Like