UChicago-CCA-2021 / Frequently-Asked-Questions

Repository to ask questions - please use the issues page to ask your questions.
0 stars 0 forks source link

Loading Smaller Sample in Davies Corpus #20

Open theoevans1 opened 3 years ago

theoevans1 commented 3 years ago

I'm arranging the Davies TV Corpus using the method in the homework for the movies corpus. I'm trying to limit it to 100 episodes, but when I check the length of the dataframe, it's telling me the dataframe has 2093 rows--which is leading my computer to process it very slowly. Does anyone know what's going wrong and how I could actually limit this to 100 items?

Screen Shot 2021-01-26 at 11 47 38 AM

bhargavvader commented 3 years ago

Huh, that's strange, that if on top should have done the trick. One other way is once the df is constructed you just use the first 1000 by slicing it and delete the rest of the df.