06 2019 档案

摘要:1.将notebook文件上传至github 2.在github中打开文件. 复制地址. 打开 "jupyter nbviever网址" , 产生新的网址 3.在markdown模式下用下列代码嵌入jupyter notebook: 阅读全文
posted @ 2019-06-27 14:40 洋洋同学 阅读(1473) 评论(0) 推荐(0)
摘要:collections模块 在内置数据类型(dict、list、set、tuple)的基础上,collections模块还提供了几个额外的数据类型:Counter、deque、defaultdict、namedtuple和OrderedDict等。 1.namedtuple: 生成可以使用名字来访问 阅读全文
posted @ 2019-06-26 16:30 洋洋同学 阅读(216) 评论(0) 推荐(0)
摘要:给函数增加一个计时功能 给装饰器传参数 阅读全文
posted @ 2019-06-26 14:15 洋洋同学 阅读(93) 评论(0) 推荐(0)
摘要:转载链接:https://blog.csdn.net/weekdawn/article/details/81389865 阅读全文
posted @ 2019-06-25 11:21 洋洋同学 阅读(1267) 评论(0) 推荐(0)
摘要:参考链接:https://gist.github.com/jayspeidell/d10b84b8d3da52df723beacc5b15cb27 阅读全文
posted @ 2019-06-21 14:00 洋洋同学 阅读(1872) 评论(0) 推荐(0)
摘要:```python #导入相应的包 import pymongo import pandas as pd from pandas import Series,DataFrame #连接数据库 #mongo_url = f'mongodb://{username}:{password}@%{host}:{port}/{db}' client = pymongo.MongoClient('localh... 阅读全文
posted @ 2019-06-20 15:37 洋洋同学 阅读(611) 评论(0) 推荐(0)
摘要:Google Colab可直接从github打开Jupyter notebooks,只需将“http:// github.com/”替换为“https:// colab.research.google.com/github/”,就会直接加载到Colab中 。 via Google Colab开发团队 阅读全文
posted @ 2019-06-06 11:26 洋洋同学 阅读(1550) 评论(1) 推荐(0)