SciTech-BigDataAIML- Python Data Science Handbook 以及 HTML源码 转Markdown源码 的办法:

以下文为例:

  1. Copy HTML Source code from the web page.
  2. Transform the HTML code to Markdown code:
    https://codebeautify.org/html-to-markdown
  3. Correcting the relative links:
import re
# Note! the "r" char before is required.
pattern = re.compile(r"\((0[0-9]\.[^)]*\.html)\)", re.M|re.I)
# Note! the "r" char before is required.
pt.sub(r"(https://jakevdp.github.io/PythonDataScienceHandbook/\1)", s)
  1. Use the Corrected Markdown source code as you want.

https://jakevdp.github.io/PythonDataScienceHandbook/index.html

Python Data Science Handbook

This website contains the full text of the Python Data Science Handbook by Jake VanderPlas; the content is available on GitHub in the form of Jupyter notebooks.

The text is released under the CC-BY-NC-ND license, and code is released under the MIT license.

If you find this content useful, please consider supporting the work by buying the book!

Table of Contents

Preface

1. IPython: Beyond Normal Python

2. Introduction to NumPy

3. Data Manipulation with Pandas

4. Visualization with Matplotlib

5. Machine Learning

Appendix: Figure Code

posted @ 2024-01-23 17:50  abaelhe  阅读(17)  评论(0)    收藏  举报