pymongo


im not able to view my records which is available in collection using pymongo with aadhar datasets


I'm trying to process my aadhardataset using pymongo. I have done queries using normal sample documents when I processed with my datasets the records is not visible , but my collection contains 400k records which is available in aadhardataset. I am able to count the number of records in my collection but I'm not able to view my records.
df = pandas.read_csv('/home/hadoop/Downloads/aadhar.csv')
database = client.database
collect = database.collect
result = database.collect.insert_many([{'df': i} for i in range(418068)])
database.collect.count()
I'm getting the count as 418 068 which is there in aadhardataset
When I'm using this below condition to view single document it's not working
import pprint
pprint.pprint(collect.find_one())
I'm not able to view my records which available in collections

Related Links

mongoengine slow serialization of embedded documents with reference fields
Pymongo error : 'Cursor' object has no attribute 'find' , how to filter it?
Spark Streaming: foreachRDD insert into mongoDB using python?
how to find right version of bson from pip for pymongo/mongoengine
How to enable `projection` in pymongo query class `find()`?
Variables don't hold value for very long pymongo ipython
pymongo upgrade to 3.0.3 causes this statement to fail
UUID to NUUID in Python
how to test for empty mongodb query in pymong
read video file from mongodb with pymongo
Get OperationFailure error with PyMongo 2.7.1
Inserting string as regular string in mongodb
Mongos + Pymongo 2.5 ==>No suitable hosts found
pymongo collection add item using update
How to convert objectid to string
Conditional atomic mongo remove with different results

Categories

HOME
visual-studio
azure-functions
tomcat
shinyapps
qc
swi-prolog
devexpress
typeerror
android-emulator
docker-cloud
qooxdoo
apache-kafka-connect
visualforce
ipv6
capistrano
elastic-load-balancer
amazon-emr
csrf
ex
twisted
bnf
jaspersoft-studio
xsl-fo
cpu-usage
anova
router
cellular-network
uri
iwebbrowser2
audit
matlab-app-designer
reporting
wampsharp
actframework
plantuml
osx-lion
sca
sql-execution-plan
devtools
winrm
custom-keyboard
java-stream
cups
oauth2
klee
get-event-store
raytracing
robust
jqgrid-asp.net
moinmoin
bit-shift
adblock
qvtkwidget
intellij-lombok-plugin
swift2.3
ssi
htmlspecialchars
polymaps
alertify
sidewaffle
p6spy
tsqlt
jenkins-workflow
qtcpsocket
unsigned
wicked-pdf
vim-plugin
webgrind
python-cffi
arbre
nastran
shoes
mojo
createfile
adhoc-polymorphism
dc
utf8-decode
otl
box2dweb
coding-efficiency
code39
xsd2code
disjoint-union
insertion
statechart
flv
mongo-jackson-mapper
xmlwriter
ckeditor.net
instance-variables
clearinterval
viewpagerindicator
struts2-s2hibernate
firebird1.5
microblogging
servercontrol
drawimage
datacontracts
data-dump
office-automation
upshot
dm
html-components
downcasting
ntruencrypt
iphone-sdk-3.1.3

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App