forked from lijin-THU/notes-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
修复了标题显示的BUG,添加了 Theano Tensor 模块的使用(未完成)
- Loading branch information
Showing
10 changed files
with
8,517 additions
and
8,361 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
3,870 changes: 1,935 additions & 1,935 deletions
3,870
02. python essentials/02.01 a tour of python.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,74 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"# Python 数据类型" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"##常用数据类型 Common Data Types" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"| 类型| 例子|\n", | ||
"| ----- | ----- |\n", | ||
"| 整数 | `-100` |\n", | ||
"| 浮点数 | `3.1416` |\n", | ||
"| 字符串 | `'hello'` |\n", | ||
"| 列表 | `[1, 1.2, 'hello']` |\n", | ||
"| 字典 | `{'dogs': 5, 'pigs': 3}`|\n", | ||
"| Numpy数组 | `array([1, 2, 3])`" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"## 其他类型 Others" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"| 类型| 例子|\n", | ||
"| ------- | ----- |\n", | ||
"| 长整型 | `1000000000000L`\n", | ||
"| 布尔型 | `True, False`\n", | ||
"| 元组 | `('ring', 1000)`\n", | ||
"| 集合 | `{1, 2, 3}`\n", | ||
"| Pandas类型| `DataFrame, Series`\n", | ||
"| 自定义 | `Object Oriented Classes`" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 2", | ||
"language": "python", | ||
"name": "python2" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 2 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython2", | ||
"version": "2.7.9" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 0 | ||
} | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"# Python 数据类型" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"## 常用数据类型 Common Data Types" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"| 类型| 例子|\n", | ||
"| ----- | ----- |\n", | ||
"| 整数 | `-100` |\n", | ||
"| 浮点数 | `3.1416` |\n", | ||
"| 字符串 | `'hello'` |\n", | ||
"| 列表 | `[1, 1.2, 'hello']` |\n", | ||
"| 字典 | `{'dogs': 5, 'pigs': 3}`|\n", | ||
"| Numpy数组 | `array([1, 2, 3])`" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"## 其他类型 Others" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"| 类型| 例子|\n", | ||
"| ------- | ----- |\n", | ||
"| 长整型 | `1000000000000L`\n", | ||
"| 布尔型 | `True, False`\n", | ||
"| 元组 | `('ring', 1000)`\n", | ||
"| 集合 | `{1, 2, 3}`\n", | ||
"| Pandas类型| `DataFrame, Series`\n", | ||
"| 自定义 | `Object Oriented Classes`" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 2", | ||
"language": "python", | ||
"name": "python2" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 2 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython2", | ||
"version": "2.7.6" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 0 | ||
} |
Oops, something went wrong.