修改: PriceSystem/fangjia/__init__.py

修改:     PriceSystem/fix/__pycache__/price_fix.cpython-36.pyc
	修改:     PriceSystem/fix/price_fix.py
	修改:     PriceSystem/test.py
This commit is contained in:
罗干
2018-04-11 16:15:43 +08:00
parent 3df2e72801
commit ad8a960049
4 changed files with 6 additions and 10 deletions
+2 -6
View File
@@ -160,18 +160,14 @@ def findHouse(query, fields=None):
seawater105 = get_collection("fangjia", "seawater", config.get_seawater_host(), 27777)
for err_count in range(0, 10):
try:
<<<<<<< HEAD
lt = 100
# seawater.find(query,{"p_date":-1}).sort([("p_date",-1)])
pos = list(seawater105.find(query, fields).sort([("p_date",-1)]).limit(lt))
#pos = list(seawater105.find(query, fields).limit(lt))
=======
lt = 100
# seawater.find(query,{"p_date":-1}).sort([("p_date",-1)])
pos = list(seawater105.find(query, fields).sort([("p_date",-1)]).limit(lt))
>>>>>>> d253c17cae80aab0340965a2bd161f1aea95d180
data = pandas.DataFrame(pos)
del pos
# print("==================>", time.time() - s)