19 sylmoon

尚未进行身份认证

我要认证

暂无相关简介

等级
TA的排名 2w+

seaborn 画图功能简单总结

seaborn 画图功能

2018-01-04 18:43:03

python 画散点图

用matplotlib画分类散点图import pandas as pdimport seaborn as sb import matplotlib .pyplot as plt%matplotlib inline iris=pd.read_csv("g:/tools/python/iris.data.csv")iris.sample(10)g=sb.FacetGrid(iris, hue="Sp

2018-01-02 15:34:02

ImportError: No module named 'bs4'

ImportError Traceback (most recent call last) in ()----> 1 from bs4 import BeautifulSoupImportError: No module named 'bs4'解决思路 :1. pip list 查看结果BS4, beautifulSoup

2017-12-15 17:34:08

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

JSONDecodeErrorTraceback(mostrecentcalllast)in()11url_visit='http://kuaidi100.com/query?type=shentong&postid={}'.format(postid)12crawl_content=urlreques

2017-12-15 14:19:56

获取豆瓣电影评分并保存到本地 遇到3个错误

1.IndentationError:expected an indented blocksolution :python 非常注意缩进 2.python-TypeError: write() argument must be str, not floatstr(float)3.TypeError: write() takes exactly one

2017-12-13 11:23:03

python 操作json

import jsonjson_content = '{"name":"test", "type":{"name":"seq", "parameter":["1", "2"]}}'print u"JSON到字典转化(方法一):"l = eval(json_content)print lprint l.keys()print l["name"]print l["type"]["na

2017-12-12 12:02:15

豆瓣 URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:719)>

import urllib.request as urlrequest #import ssl#ssl._create_default_https_context = ssl._create_unverified_contexturl_visit='https://api.douban.com/v2/movie/subject/1764796'crawl_content=urlre

2017-12-11 22:57:58

pycham import random

https://zhidao.baidu.com/question/813163385554993052.htmlpython3在pycharm中为什么导入random模块不能用? TypeError: 'module' object is not callable新手学python求大神指导,也用sys导入了random.py的路径,仍然不行。刚刚排错貌似找到了问题的

2017-11-30 18:47:30

python 格式对齐很重要!!!

while b 10: print("fibonacci is ", b) a, b = b, a + b和while b 10: print("fibonacci is ", b) a, b = b, a + b第一段代码可以正确打印出斐波那契数列, 而第二段代码因为没有对齐, b=1会 不停地被打印变量严格区分大小写

2017-11-30 17:58:28

python 写斐波那契数列, 复合赋值很特别

a = 0b = 1c = 1while c 10: print("fibonacci is", c) c = a + b a = b b = c print("a is", a) print("b is", b)'''a = 0 b = 1 while b < 10: print("fibonacci

2017-11-30 17:44:18

sql 查询一列和另一列的关系是不是一对一

业务逻辑讲, 报价编号和产品编号scheduleindex 一对一, 系统出现问题出现不是1:1情况, 查出来:select distinct  pm.BookingNote,  count( distinct pm.ScheduleIndex)from pricemain  pm, priceport  pp where pm.priceid = pp.priceidand

2017-11-30 15:20:16

python first lesson

Python 3.6.3 (v3.6.3:2c5fed8, Oct  3 2017, 18:11:49) [MSC v.1900 64 bit (AMD64)] on win32Type "copyright", "credits" or "license()" for more information.>>> print ("hello world")hello world>>>

2017-11-28 22:36:54

留言板微信小程序开发MVC思路分析

1. item class over/* overflow: hidden;清浮动! */2 查询功能:2.1js 里面data 里面添加:msgData:[{ msg:"xxxxxx"},//双引号{ msg:"xxxxxx"},{ msg:"xxxxxx"},{ msg:"xxxxxx"}

2017-11-27 15:22:09

微信小程序模拟器里面不能显示自己写的INDEX

solution :写好INDEX json, wxss,js 三个文件,即使里面没有内容也要写,比如json nevigationbartitle

2017-11-24 15:10:27

PL/SQL 测试 调用PROCEDURE 和FUNCTION

begin  -- Call the procedure aw_wmsinmain(1,10765);end;DECLARE  V_number NUMBER;  v_char varchar(200);  v_date date ;begin  -- Call the function    

2017-10-31 18:17:42

PL/SQL cursor 游标 where条件接收形参为VARCHAR 不能正常执行的问题 SELECT ContactNameC FROM MTContact WHERE objectno

游标的定义:  cursor c_get is    SELECT ContactNameC FROM MTContact WHERE contactno = v_objectno;单独执行有结果, 但是 游标就是ROWCOUNT%=0!!!    SELECT ContactNameC , m.* FROM MTContact  m WHERE objectno = 'H

2017-10-30 18:41:37

用merge into 的时候提示 ORA-01733: virtual column not allowed here

Error: PL/SQL: ORA-01733: virtual column not allowed hereLine: 81Text: MERGE INTO SvcOrderProfitError: PL/SQL: SQL Statement ignoredLine: 81Text: MERGE INTO SvcOrderProfit用merge in

2017-10-20 17:07:41

at most one declaration for 'V_ZCSYCW1' is permitted Error: PLS-00371

Compilation errors for PROCEDURE AWCARGOWEBJMNEW.FML_SCHEDULEError: PLS-00371: at most one declaration for 'V_ZCSYCW1' is permittedLine: 441Text: (v_zcsycw1 / v_zczcw1) * 100 >= v_Firstspace

2017-10-20 14:39:52

Compilation errors for FUNCTION AWCARGOWEBJMNEW.FUN_GETVSLVOY161110 Error: PLS-00103: Encountered t

运行存储过程报错如下:Compilation errors for FUNCTION AWCARGOWEBJMNEW.FUN_GETVSLVOY161110Error: PLS-00103: Encountered the symbol "SELECT" when expecting one of the following:                 ( -

2017-10-20 14:31:39

在IDEA中使用 Spring Initializr 新建 spring boots 项目

Spring Initializr 创建spring boots项目极其简单 1.2.3.这里关键很多dependencies :加好了是不是POM 里面初始化就有呢?

2017-10-13 17:17:54

查看更多

勋章 我的勋章
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!