08 2018 档案

摘要:nohup python work.py >my.log & 阅读全文
posted @ 2018-08-28 19:44 luoganttcc 阅读(90) 评论(0) 推荐(0) 编辑
摘要:英文中文 阅读全文
posted @ 2018-08-28 12:36 luoganttcc 阅读(134) 评论(0) 推荐(0) 编辑
摘要:pip install --user tensorlayer 阅读全文
posted @ 2018-08-27 13:46 luoganttcc 阅读(203) 评论(0) 推荐(0) 编辑
摘要:财富是底层人民的追求经济社会中的每个人都在竭力的将自己的东西卖出去;当你想买很多东西时,要抑制住购买的欲望,因为有很多东西是不必要的当别人竭力想你推荐某种东西时,你要小心了,好东西都是留明天卖的;如果有选择的话,不要和长江以北的人做生意; ... 阅读全文
posted @ 2018-08-25 12:59 luoganttcc 阅读(91) 评论(0) 推荐(0) 编辑
摘要:sudo add-apt-repository ppa:apandada1/brightness-controllersudo apt-get updatesudo apt-get install brightness-controller-simplebr... 阅读全文
posted @ 2018-08-24 19:30 luoganttcc 阅读(105) 评论(0) 推荐(0) 编辑
摘要:马尔科夫转换矩阵Out[72]: Sunny Cloudy RainySunny 0.50 0.375 0.125Cloudy 0.25 0.125 0.625Rainy 0.25 0.375 0.375... 阅读全文
posted @ 2018-08-17 18:26 luoganttcc 阅读(216) 评论(0) 推荐(0) 编辑
摘要:文章链接 阅读全文
posted @ 2018-08-17 12:10 luoganttcc 阅读(73) 评论(0) 推荐(0) 编辑
摘要:我的搜藏 阅读全文
posted @ 2018-08-17 11:27 luoganttcc 阅读(72) 评论(0) 推荐(0) 编辑
摘要:厦门楼市崩盘了 在这里,我不想预测或推断未来,我只陈述关于房地产这个行业当前数据的事实,并且我几乎可以断定,这些事实是你们在其他信息渠道上得不到的 我曾经在一家房产数据公司负责算法 你在新闻联播上看到的信息是,一线的城市的房价下跌0.6%,... 阅读全文
posted @ 2018-08-11 20:55 luoganttcc 阅读(111) 评论(0) 推荐(0) 编辑
摘要:文章链接 阅读全文
posted @ 2018-08-09 11:14 luoganttcc 阅读(78) 评论(0) 推荐(0) 编辑
摘要:原文链接 阅读全文
posted @ 2018-08-08 10:57 luoganttcc 阅读(81) 评论(0) 推荐(0) 编辑
摘要:文章链接 阅读全文
posted @ 2018-08-07 19:16 luoganttcc 阅读(77) 评论(0) 推荐(0) 编辑
摘要:文章链接 阅读全文
posted @ 2018-08-07 19:16 luoganttcc 阅读(85) 评论(0) 推荐(0) 编辑
摘要:原文链接 阅读全文
posted @ 2018-08-07 15:40 luoganttcc 阅读(779) 评论(0) 推荐(0) 编辑
摘要:原文链接 阅读全文
posted @ 2018-08-07 15:40 luoganttcc 阅读(360) 评论(0) 推荐(0) 编辑
摘要:from datetime import datetimefrom elasticsearch import Elasticsearches = Elasticsearch()doc = { 'author': 'kimchy', 'text':... 阅读全文
posted @ 2018-08-07 12:00 luoganttcc 阅读(613) 评论(0) 推荐(0) 编辑
摘要:from datetime import datetimefrom elasticsearch import Elasticsearches = Elasticsearch()doc = { 'author': 'kimchy', 'text':... 阅读全文
posted @ 2018-08-07 12:00 luoganttcc 阅读(128) 评论(0) 推荐(0) 编辑
摘要:from elasticsearch import Elasticsearches = Elasticsearch()phrase={ "query" : { "match_phrase" : { "about" :... 阅读全文
posted @ 2018-08-07 11:27 luoganttcc 阅读(149) 评论(0) 推荐(0) 编辑
摘要:from elasticsearch import Elasticsearches = Elasticsearch()phrase={ "query" : { "match_phrase" : { "about" :... 阅读全文
posted @ 2018-08-07 11:27 luoganttcc 阅读(124) 评论(0) 推荐(0) 编辑
摘要:截止目前的搜索相对都很简单:单个姓名,通过年龄过滤。现在尝试下稍微高级点儿的全文搜索——一项 传统数据库确实很难搞定的任务。 搜索下所有喜欢攀岩(rock climbing)的雇员:from elasticsearch import Elasticsearc... 阅读全文
posted @ 2018-08-07 11:20 luoganttcc 阅读(195) 评论(0) 推荐(0) 编辑
摘要:截止目前的搜索相对都很简单:单个姓名,通过年龄过滤。现在尝试下稍微高级点儿的全文搜索——一项 传统数据库确实很难搞定的任务。 搜索下所有喜欢攀岩(rock climbing)的雇员:from elasticsearch import Elasticsearc... 阅读全文
posted @ 2018-08-07 11:20 luoganttcc 阅读(126) 评论(0) 推荐(0) 编辑
摘要:写入数据from elasticsearch import Elasticsearches = Elasticsearch()body1={ "first_name" : "John", "last_name" : "Smith", "a... 阅读全文
posted @ 2018-08-06 23:15 luoganttcc 阅读(205) 评论(0) 推荐(0) 编辑
摘要:yuanwen Elasticsearch启动# 进入到elasticsearch的bin目录cd /.../.../elasticsearch-x.x.x/bin# 启动elasticsearch./elasticsearch可以再开启另外一个终端,输入一... 阅读全文
posted @ 2018-08-06 17:28 luoganttcc 阅读(318) 评论(0) 推荐(0) 编辑
摘要:from elasticsearch import Elasticsearches = Elasticsearchres1 = es.search(index="2018-07-31", body={"query": {"match_all": {}}})p... 阅读全文
posted @ 2018-08-06 17:15 luoganttcc 阅读(480) 评论(0) 推荐(0) 编辑
摘要:原文链接文档:http://elasticsearch-py.readthedocs.io/en/master/ Elasticsearch官方API文档: https://www.elastic.co/guide/en/elasticsearch/refe... 阅读全文
posted @ 2018-08-06 16:16 luoganttcc 阅读(234) 评论(0) 推荐(0) 编辑
摘要:#导入相关数据import tushare as tsimport pandas as pd#import elasticsearch as esfrom datetime import datetimefrom elasticsearch import ... 阅读全文
posted @ 2018-08-05 22:08 luoganttcc 阅读(140) 评论(0) 推荐(0) 编辑
摘要:#导入相关数据import tushare as tsimport pandas as pd#import elasticsearch as esfrom datetime import datetimefrom elasticsearch import ... 阅读全文
posted @ 2018-08-05 22:08 luoganttcc 阅读(2294) 评论(0) 推荐(0) 编辑
摘要://做人做事我笃信阳明心学的知行合一//编程之道完美诠释知行合一//对某一个问题哪怕有一点点的不清楚,那就是完全不清楚//对一个问题,只有知与未知两个状态,没有中间状态//下面的代码应该能够加深对C语言指针的理解#includemain() { int... 阅读全文
posted @ 2018-08-04 22:08 luoganttcc 阅读(95) 评论(0) 推荐(0) 编辑
摘要:#include#include#define N 10typedef struct list { int data; struct list *next; }SLIST;main() { SLIST *head ,*p... 阅读全文
posted @ 2018-08-04 21:22 luoganttcc 阅读(79) 评论(0) 推荐(0) 编辑
摘要://L3_1.c#include#include//定义链表节点类型,这是C语言中非常经典的结构体//但是这中定义有一点点难以理解struct node *next//这应该是一种递归定义吧 ,定义一个结构体指针nextstruct node ... 阅读全文
posted @ 2018-08-03 18:00 luoganttcc 阅读(82) 评论(0) 推荐(0) 编辑
摘要://本书代码来思想自于创客诚品的>//但我对原书代码做了较大的改动;// 个人认为算法与数据结构是一个程序员的内功,欲成为第一流的高手必须苦练内功// 欲研究数据结构,必须写C#include#include#define N 10//定义一个结构体,这里有... 阅读全文
posted @ 2018-08-03 17:56 luoganttcc 阅读(335) 评论(0) 推荐(0) 编辑
摘要:三体下载将下载的文件重命名为santi.txt,放在文件的目录下#!/usr/bin/env python3# -*- coding: utf-8 -*-"""Created on Wed Aug 1 18:31:11 2018@author: luoga... 阅读全文
posted @ 2018-08-01 18:44 luoganttcc 阅读(2109) 评论(0) 推荐(0) 编辑
摘要:三体链接下载三体文件,将其从命名为santi.txt 将其放在程序的统一目录下#!/usr/bin/env python3# -*- coding: utf-8 -*-"""Created on Wed Aug 1 10:13:28 2018@author... 阅读全文
posted @ 2018-08-01 15:34 luoganttcc 阅读(211) 评论(0) 推荐(0) 编辑
摘要:f=open("foo.txt")for line in f: print (line)f = open("data.txt","r") #设置文件对象st= f.read() #将txt文件的所有内容读入到字符串str中f.close()... 阅读全文
posted @ 2018-08-01 15:05 luoganttcc 阅读(124) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示