摘要: SSD无法识别、UEFI、GPT、MBR、系统 阅读全文
posted @ 2022-01-09 21:57 迈克儿 阅读(52) 评论(0) 推荐(0) 编辑
摘要: #coding:utf8 import tushare as ts import pandas as pd import numpy as np import pymysql,datetime import matplotlib.pyplot as plt import logging import 阅读全文
posted @ 2018-12-16 22:33 迈克儿 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 最近想把部分python数据分析的代码从win系统迁移到MAC上,有部分图片上涉及中文显示,迁移到MAC上warning: 然后中文字体各种方块,我本来的字体设置代码是这样的: 网上给出了各种解决方案,总结下来无外乎下面两种: 1.安装对应字体,比如我的是微软雅黑 2.将simhei.ttf拷贝到m 阅读全文
posted @ 2018-03-15 10:21 迈克儿 阅读(5145) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.cnblogs.com/Xjng/p/5093905.html 开发经常会遇到各种字符串编码的问题,例如报错SyntaxError: Non-ASCII character 'ascii' codec can't encode characters in positi 阅读全文
posted @ 2016-12-18 10:21 迈克儿 阅读(465) 评论(0) 推荐(0) 编辑
摘要: R6034 指的是:”An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more inform 阅读全文
posted @ 2016-12-12 00:37 迈克儿 阅读(952) 评论(0) 推荐(0) 编辑
摘要: 主要是indirect函数的用法 阅读全文
posted @ 2016-11-29 01:17 迈克儿 阅读(293) 评论(0) 推荐(0) 编辑
摘要: #以下解决mtpl中文显示问题 from pylab import * mpl.rcParams['font.sans-serif'] = ['SimHei'] #以下解决seaborn中文编码报错问题 import sys reload(sys) sys.setdefaultencoding('utf8') sns.set_context("talk") ###测试 df_... 阅读全文
posted @ 2016-11-24 22:20 迈克儿 阅读(720) 评论(0) 推荐(0) 编辑
摘要: ---王燕行转列sql select split(concat_ws(',',collect_set(cast(smzq as string))),',')[1] ,split(concat_ws(',',collect_set(cast(smzq as string))),',')[2] from wyy; ---mysql 导入 导出数据部分 --mysql 导入 load dat... 阅读全文
posted @ 2016-06-07 14:49 迈克儿 阅读(1122) 评论(0) 推荐(0) 编辑
摘要: 这篇文章讲无权二分图(unweighted bipartite graph)的最大匹配(maximum matching)和完美匹配(perfect matching),以及用于求解匹配的匈牙利算法(Hungarian Algorithm);不讲带权二分图的最佳匹配。 二分图:简单来说,如果图中点可 阅读全文
posted @ 2016-06-06 11:19 迈克儿 阅读(19520) 评论(0) 推荐(1) 编辑
摘要: 一直用MAC写python,但京东给的本装的是win7系统,在安装scipy时各种报错,最后错误提示为: 开始一顿搜,爆栈给出的解决方案是,安装fortran编译lapack,god,真是个重量级的解决方案,继续找,终于让我找到了解决方案: http://www.voidcn.com/blog/co 阅读全文
posted @ 2016-06-03 16:31 迈克儿 阅读(357) 评论(0) 推荐(0) 编辑