码迷,mamicode.com
首页 >  
搜索关键字:pandas matplotlib nu    ( 5990个结果
C语言---整型字符串转换
C语言提供了几个标准库函数,能够将随意类型(整型、长整型、浮点型等)的数字转换为字符串。下面是用itoa()函数将整数转 换为字符串的一个样例: # include # include void main (void) { int num = 100; char str[25]; itoa(nu.....
分类:编程语言   时间:2014-08-12 00:12:23    阅读次数:259
python 3.4 装matplotlib numpy
为了装个matplotlib包,搞了好久;python3.4,官方没有对应版本的包,只能去下面这个地方下对应的版本:http://www.lfd.uci.edu/~gohlke/pythonlibs/下载试了下,后发现出错,好像还缺个numpy的包python 3.4 numpy官方也没有对应版本,...
分类:编程语言   时间:2014-08-11 23:57:33    阅读次数:451
sql alter表字段处理
--添加字段ALTER table WCOLLECTION add CLT_ID int null default(0)--将已有字段类型为 NULL 修改为 NOT NULLalter table table_namealter column column_name char(20) not nu...
分类:数据库   时间:2014-08-11 17:16:52    阅读次数:230
Oracle中的 row_number() over (partition by order by ) 用法
oracle 里面经常这样用select col1,col2..., row_number() over (partition by colx order by coly) from table_name;;这句话的意思是把表中的数值按照colx 分组,每一组内部按照coly排序,同时 row_nu...
分类:数据库   时间:2014-08-08 20:40:56    阅读次数:307
两点之间的距离
import javax.swing.JOptionPane;public class Distance { public static void main(String[] args){ String input = JOptionPane.showInputDialog(nu...
分类:其他好文   时间:2014-08-06 21:42:42    阅读次数:267
冒泡排序和选择排序区别
/*冒泡排序:每一次循环数值较小的的就能像气泡一样慢慢浮现出来*两层循环,第一层循环控制循环的次数,第二层拿数组中的第二个数进行和第一层循环中的数进行比较,**/int[]nums={29,13,23,10,72,41,21,77};inttemp=0;for(inti=0;i<nums.length-1;i++){for(intj=i+1;j<=nu..
分类:其他好文   时间:2014-08-06 19:32:02    阅读次数:242
获取网络图片(Bitmap)至内存或者SD卡
/** * 获取网络图片 * 注意权限: * */ private Bitmap getBitmapFromNetWork(String imageUrl){ URL url=null; Bitmap bitmap=null; InputStream inputStream=null; HttpURLConnection httpURLConnection=nu...
分类:其他好文   时间:2014-08-03 23:17:16    阅读次数:294
poj 3259 Wormholes
Wormholes Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 30766   Accepted: 11157 Description While exploring his many farms, Farmer John has discovered a nu...
分类:其他好文   时间:2014-08-02 18:30:23    阅读次数:317
使用matplotlib在python中画图
一、安装此处以Ubuntu12.04为例:$ sudo apt-get install ipython python-matplotlib python-numpy二、简单实例>>> plt.figure(1) # 创建图表1>>> plt....
分类:编程语言   时间:2014-08-01 19:33:32    阅读次数:355
c#读取快递100查询返回的JSON信息
{"message":"ok","nu":"1105016801203","companytype":"ems","ischeck":"1","com":"ems","updatetime":"2014-08-01 10:17:31","status":"200","condition":"
分类:Web程序   时间:2014-08-01 18:49:02    阅读次数:316
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!