patrickbeekman / SeniorCapstone

Exploratory analysis and visualization on how to maximize the potential of your tweets.
GNU General Public License v3.0
0 stars 1 forks source link

Reading large json file into pandas causes ValueError #16

Closed patrickbeekman closed 6 years ago

patrickbeekman commented 6 years ago

Writing 100 tweets to json file and then reading it with pandas works fine but then when I collect and write all of my tweets to a json it fails with a ValueError.

patrickbeekman commented 6 years ago

Probably because I am appending multiple complete json formatted lists of tweets to each other

patrickbeekman commented 6 years ago

It's because of adding the multiple complete json [ {json stuff 1} ] with another [ {json stuff 2} ] when it should be [ {json stuff 1}, {json stuff 2} ]

patrickbeekman commented 6 years ago

Just needed to delete the .json file before writing to it again