why there was only one tweet used for cleaning not the whole dataset?
Welcome to the community. I am not sure as to which video lecture you are referring to in particular. But using one tweet is just for explaining the learners in a more detailed manner. Once you understand that process and encapsulated all the steps as a python function, you can simply apply that function to all the tweets in your dataset to process your entire dataset. Let us know if this helps.