python - Formatting mongodb query to create pandas DataFrame from nodechef - issue with character limit -


i'm trying import data nodechef using mongoclient. have been able download table each specific collection using following code:

from pymongo import mongoclient import pandas pd client = mongoclient("mongodb://xxxx.nodechef.com:xxx") db = client.xxxx users= pd.dataframe(list(db['collection'].find())) 

however, in dataframe returned, there appears 50 character limit string variables not being returned in full.

{'email': '', 'question1': 1991, 'question3': ... {'email': 'x', 'question1': 1980, 'question3':... 

each case variable in dataframe cut short. i've tried find out how extend or remove potential character limits though have not been successful.

i think might .find() method , parameters within though i'm new computer coding , don't understand parameter or how need changing (or it's else entirely!).

thanks


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -