Skip to content

Commit 4a800eb

Browse files
committed
rst+plotly
1 parent e43b9fe commit 4a800eb

18 files changed

Lines changed: 53 additions & 213 deletions

md/1576311610044.png

-28 KB
Binary file not shown.

md/折线+柱状图.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ fig.add_trace(
1717
fig.show()
1818
```
1919

20-
![1576311610044](D:\source\python-small-examples\md\1576311610044.png)
20+
![1576311610044](../img/plotly1.png)

rst/ch01/00_conda国内镜像修改(最新版).rst

Lines changed: 0 additions & 47 deletions
This file was deleted.

rst/ch01/02_revise_mirror.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
1.2 修改镜像源
33
===============================
44

5-
在使用安装`conda` 安装某些包会出现慢或安装失败问题,最有效方法是修改镜像源为国内镜像源。之前都选用清华镜像源,但是2019年后已停止服务。推荐选用中科大镜像源。
5+
在使用安装\ ``conda`` 安装某些包会出现慢或安装失败问题,最有效方法是修改镜像源为国内镜像源。之前都选用清华镜像源,但是2019年后已停止服务。推荐选用中科大镜像源。
66

77
先查看已经安装过的镜像源,cmd窗口执行命令:
88

rst/ch01/04_不用else和if实现计算器.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
===============================
2+
1.4 不使用if和else做一个计算器
3+
===============================
4+
15
.. code:: python
26
37
from operator import *

rst/ch01/05_交换元素.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
===============================
2+
1.5 交换2个元素
3+
===============================
4+
15
\`\`\`python def swap(a, b): return b, a
26

37
print(swap(1, 0)) # (0,1)

rst/ch01/06_二分搜索.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
===============================
2+
1.6 二分搜索
3+
===============================
4+
5+
16
二分搜索是程序员必备的小算法,无论什么场合,都要非常熟练地写出来。
27

38
小例子描述:

rst/ch02/03_Counter的高级用法.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
Counter对象间可以做数学运算
1+
=====================
2+
3.3 Counter对象间做数学运算
3+
=====================
24

35
.. code:: python
46

rst/ch03/00_defaultdict.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
=========
2+
3.1 一键对多值字典
3+
=========
4+
5+
16
.. code:: python
27
38
# 一键对多个值

rst/ch05/00_xls批量转化为xlsx (1).rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
===============
2+
1.1 批量转换文件xls-xlsx
3+
===============
4+
15
.. code:: python
26
37
#批量转换文件xls-xlsx

0 commit comments

Comments
 (0)