写作工具

I’ve been writing about data science on Medium for just over two years. Writing, in particular, technical writing can be time-consuming. Not only do you need to come up with an idea, write well, edit your articles for accuracy and flow, and proofread them. With technical articles you often also need to produce code to illustrate your explanations, ensure that it is accurate and transfer that code from the tool you used to write it, to your Medium post.

我已经写了两年多关于Medium的数据科学的文章。 写作,特别是技术写作,可能很耗时。 您不仅需要提出一个想法,写得好,编辑文章以确保准确性和流程性,并进行校对。 在撰写技术文章时,您通常还需要编写代码来说明您的解释,确保代码准确无误,然后将代码从您用来编写代码的工具转移到Medium帖子中。

I try to publish once or twice a week. When I first started writing I found that the process could be very time consuming, and it was difficult to maintain this schedule around a full-time day job.

我尝试每周发布一次或两次。 当我第一次开始写作时,我发现该过程可能非常耗时,并且很难在一个全日制工作中维持这个时间表。

Over time I have found some tools that have hugely sped up the time it takes for me to create and publish an article. Particularly those containing coded examples. The following tools help me to achieve my goal of publishing one to two articles per week around my other life commitments.

随着时间的流逝,我发现一些工具极大地缩短了我创建和发布文章所需的时间。 特别是那些包含编码示例的代码。 以下工具可帮助我实现每周围绕其他人生承诺发表一到两篇文章的目标。

1. Jupyter至中 (1. Jupyter to Medium)

This tool was only released in May this year by Ted Petrou but it is a game-changer if you write your code in Jupyter Notebooks. With this Python package, you can publish the entire content of your notebook as a blog post directly into your Medium account.

该工具仅在今年5月由Ted Petrou发布,但是如果您在Jupyter Notebooks中编写代码,它将改变游戏规则。 使用此Python软件包,您可以将笔记本的全部内容作为博客文章直接发布到您的Medium帐户中。

To use this tool first you need to pip install it into your project environment.

要首先使用此工具,您需要将其安装到项目环境中。

pip install jupyter_to_medium

You may need to also install this extension in the environment you are launching your notebook from.

您可能还需要在启动笔记本计算机的环境中安装此扩展程序。

jupyter bundlerextension enable --py jupyter_to_medium._bundler --sys-prefix

Once installed, when you open a Jupyter Notebook and navigate to File >> Deploy as, you will now find an option to deploy as a Medium post.

安装完成后,当您打开Jupyter Notebook并导航至File >> Deploy as时,您现在将找到一个选项作为Medium post进行部署。

Image for post

When you select this option you will be presented with a form. At the top, it asks for an integration token. If you are a regular writer on Medium you may have access to this in the settings in your Medium account. If you don’t have a token in your settings you will need to contact Medium to request one via this email address yourfriends@medium.com.

选择此选项时,将显示一个表格。 在顶部,它要求一个集成令牌。 如果您是Medium的普通作家,则可以在Medium帐户的设置中访问此内容。 如果您的设置中没有令牌,则需要联系Medium,以通过此电子邮件地址yourfriends@medium.com请求一个。

From my experience, you will get a response quite quickly, typically within 1 to 2 days.

根据我的经验,您通常会在1-2天内很快收到答复。

You can either paste your integration token into this form each time or, to save having to repeatedly access it, you can save the token as a file and directory labelled in the following way.jupyter_to_medium/integration_token.

您可以每次将集成令牌粘贴到此表单中,或者,为了避免重复访问,可以将令牌另存为文件和目录,并以.jupyter_to_medium/integration_token方式标记。

Image for post

Jupyter to Medium will publish your markdown as text, code as code blocks and images directly to medium as a draft. I have found that you generally only need to perform minimal edits to then get to a publishable blog post.

Jupyter to Medium会将您的降价发布为文本,将代码发布为代码块,并将图像直接发布为草稿。 我发现您通常只需要执行最少的编辑即可访问可发布的博客文章。

2. Github要点 (2. Github Gists)

Github has a tool known as Github Gists that allow you to easily embed code snippets directly into your blog posts. The advantage of using Gists rather than code blocks in your articles is that they preserve the format of the code better, they promote your Github account and it is easier for readers to access your code to try the examples out for themselves.

Github有一个称为Github Gists的工具,可让您轻松地将代码段直接嵌入到博客文章中。 在您的文章中使用Gist而不是代码块的优点是,它们可以更好地保留代码格式,可以提升您的Github帐户,并使读者更轻松地访问您的代码来亲自尝试示例。

You will need a Github account to create a Gist. Once you have one simply navigate to the Gists page at gist.github.com. Creating a Gist is very simple, just give it a name, paste in your code and hit publish. Once published you will see this page. To embed the Gist in your Medium post simply code the URL under ‘Embed’ and paste into your article.

您将需要一个Github帐户来创建一个Gist。 找到一个后,只需导航至gist.github.com的Gist页面即可 。 创建一个Gist非常简单,只需给它命名,粘贴代码并点击publish。 发布后,您将看到此页面。 要将Gist嵌入到您的Medium帖子中,只需将URL编码在“ Embed”下,然后粘贴到您的文章中即可。

Image for post

The code displays in your Medium post as shown below.

该代码显示在您的中号帖子中,如下所示。

import plotly.express as pxfig = px.scatter(data, x='RM', y='TARGET', title='Age vs Target')
fig.show()

3. Jovian.ml (3. Jovian.ml)

Jovian.ml is a tool for hosting Jupyter Notebooks online which is very useful for sharing analyses externally from your local environment. Jovian recently released a feature which makes it possible to embed entire notebooks, snippets of code, cell outputs and markdown directly into your Medium posts.

Jovian.ml是用于在线托管Jupyter Notebook的工具,对于从本地环境外部共享分析非常有用。 Jovian最近发布了一项功能,可以将整个笔记本,代码段,单元格输出和减价直接嵌入到您的Medium帖子中。

To get started with Jovian you need to create an account on jovian.ml. The free tier gives you unlimited public projects which is ideal if you are using it to share via a Medium blog. You then need to pip install into your local environment.

要开始使用Jovian,您需要在jovian.ml上创建一个帐户。 免费套餐为您提供无限的公共项目,如果您正在使用它通过中型博客进行共享,那么这是理想的选择。 然后,您需要将pip安装到本地环境中。

pip install jovian

To upload a local Jupyter Notebook to your online Jovian account simply run the following in your notebook.

要将本地Jupyter笔记本上载到您的在线Jovian帐户,只需在笔记本中运行以下命令即可。

import jovianjovian.commit()

This will prompt you for an API key which you will find in your account.

这将提示您输入在帐户中找到的API密钥。

Image for post

To embed specific snippets of code in a cell. Navigate to the notebook you have uploaded to your online account and the cell containing the code you want to share. Click on Embed Cell.

将特定的代码片段嵌入单元格中。 导航到您已上传到在线帐户的笔记本以及包含要共享代码的单元格。 单击“ 嵌入单元”

Image for post

This will give you a link you can paste into your Medium post.

这将为您提供一个链接,您可以将其粘贴到“ Medium”帖子中。

Image for post

This then displays as shown below.

然后显示如下。

演示地址

4.语法上 (4. Grammarly)

Grammarly is quite a well-known app that checks your content for typos, grammatical errors and even the sentiment of your text. Although an obvious tool for writing it took me a while to start using it, and it made such a difference to the editing time for my articles so I thought it was worth sharing here.

Grammarly是一个非常著名的应用程序,它可以检查您的内容是否有错别字,语法错误,甚至您的文字情感。 尽管一个明显的编写工具花了我一段时间才开始使用它,并且它对文章的编辑时间产生了很大的影响,所以我认为值得在这里分享。

Grammarly can be installed as a browser extension, locally as a desktop app or as a mobile app. To maximise the use of my time I write in many different environments so it is useful to have Grammarly installed locally if I am writing offline, in my browser for when I am directly writing on Medium and on my mobile if I am writing on the go.

语法可以作为浏览器扩展安装,可以在本地作为桌面应用程序或移动应用程序安装。 为了最大限度地利用我的时间,我在许多不同的环境中写作,因此,如果我离线写作,在浏览器中将Grammarly安装在本地是很有用的,这样当我直接在Medium上书写时和在移动设备上书写(如果我在旅​​途中书写) 。

If you are interested in posts about data science writing on Medium you might find these earlier articles I wrote on the subject useful too.

如果您对在Medium上有关数据科学写作的帖子感兴趣,那么您可能会发现我在该主题上撰写的这些较早的文章也很有用。

Thanks for reading!

谢谢阅读!

I send out a monthly newsletter if you would like to join please sign up via this link. Looking forward to being part of your learning journey!

如果您想加入,我会每月发送一次通讯,请通过此链接注册。 期待成为您学习之旅的一部分!

翻译自: https://towardsdatascience.com/4-tools-to-speed-up-your-data-science-writing-11d3823cd01b

写作工具

http://www.taodudu.cc/news/show-997475.html

相关文章:

  • 大数据(big data)_如何使用Big Query&Data Studio处理和可视化Google Cloud上的财务数据...
  • 多元时间序列回归模型_多元时间序列分析和预测:将向量自回归(VAR)模型应用于实际的多元数据集...
  • 数据分析和大数据哪个更吃香_处理数据,大数据甚至更大数据的17种策略
  • 批梯度下降 随机梯度下降_梯度下降及其变体快速指南
  • 生存分析简介:Kaplan-Meier估计器
  • 使用r语言做garch模型_使用GARCH估计货币波动率
  • 方差偏差权衡_偏差偏差权衡:快速介绍
  • 分节符缩写p_p值的缩写是什么?
  • 机器学习 预测模型_使用机器学习模型预测心力衰竭的生存时间-第一部分
  • Diffie Hellman密钥交换
  • linkedin爬虫_您应该在LinkedIn上关注的8个人
  • 前置交换机数据交换_我们的数据科学交换所
  • 量子相干与量子纠缠_量子分类
  • 知识力量_网络分析的力量
  • marlin 三角洲_带火花的三角洲湖:什么和为什么?
  • eda分析_EDA理论指南
  • 简·雅各布斯指数第二部分:测试
  • 抑郁症损伤神经细胞吗_使用神经网络探索COVID-19与抑郁症之间的联系
  • 如何开始使用任何类型的数据? - 第1部分
  • 机器学习图像源代码_使用带有代码的机器学习进行快速房地产图像分类
  • COVID-19和世界幸福报告数据告诉我们什么?
  • lisp语言是最好的语言_Lisp可能不是数据科学的最佳语言,但是我们仍然可以从中学到什么呢?...
  • python pca主成分_超越“经典” PCA:功能主成分分析(FPCA)应用于使用Python的时间序列...
  • 大数据平台构建_如何像产品一样构建数据平台
  • 时间序列预测 时间因果建模_时间序列建模以预测投资基金的回报
  • 贝塞尔修正_贝塞尔修正背后的推理:n-1
  • php amazon-s3_推荐亚马逊电影-一种协作方法
  • 简述yolo1-yolo3_使用YOLO框架进行对象检测的综合指南-第一部分
  • 数据库:存储过程_数据科学过程:摘要
  • cnn对网络数据预处理_CNN中的数据预处理和网络构建

写作工具_4种加快数据科学写作速度的工具相关推荐

  1. 6种上市公司数据的采集方法和工具

    10种AI训练数据采集工具排行榜 6种上市公司数据的采集方法和工具 1.目前常用的6种数据网站 2.如何写Python爬虫: 3.人生第一个 爬虫代码示例: 另外: 6种上市公司数据的采集方法和工具 ...

  2. python在线工具-6 种 Python 数据可视化工具

    原标题:6 种 Python 数据可视化工具 英文:Chris Moffitt,编译:伯乐在线/李加庆 简介 在 Python 中,将数据可视化有多种选择,正是因为这种多样性,何时选用何种方案才变得极 ...

  3. 55种数据可视化开源工具_4种开源工具让我的创业起步

    55种数据可视化开源工具 当我创办第一家公司时,资金很紧张. 我们有一个小型办公室和几台计算机,但没有其他很多. 我完成了所有成本计划,甚至没有考虑营业执照和软件成本. 我知道这是一个错误,但是将此类 ...

  4. 克隆网站工具_4 种开源云安全工具

    查找并排除你存储在 AWS 和 GitHub 中的数据里的漏洞. -- Alison Naylor,anderson Silva(作者) 如果你的日常工作是开发者.系统管理员.全栈工程师或者是网站可靠 ...

  5. 大数据 机器学习 分类算法_13种用于数据科学的机器学习分类算法及其代码

    大数据 机器学习 分类算法 The roundup of most common classification algorithms along with their python and r cod ...

  6. 域名解析工具_12种帮助您购买完美域名的工具

    域名解析工具 Buying a domain name for that next project of yours can be a tricky endeavor. 为您的下一个项目购买域名可能是 ...

  7. 深度学习数据自动编码器_如何学习数据科学编码

    深度学习数据自动编码器 意见 (Opinion) When I first wanted to learn programming, I coded along to a 4 hour long Yo ...

  8. 熊猫数据集_为数据科学拆箱熊猫

    熊猫数据集 If you are already familiar with NumPy, Pandas is just a package build on top of it. Pandas pr ...

  9. 独家 | 2020年22个广泛使用的数据科学与机器学习工具(附链接)

    作者:RAM DEWANI 翻译:欧阳锦 校对:陈汉青 本文长度为4600字,建议阅读11分钟 本文为大家从两个方面--大数据和数据科学,介绍了本年度的22个被广泛使用的数据科学和机器学习工具.结合了 ...

最新文章

  1. php png jpg,php如何将png转换成jpg-PHP问题
  2. 听歌识曲原理探究以及样例代码
  3. vtk读取文件并显示的几种方法
  4. Linux 2.6.32-279.el6.x86_64 ANDROID SDK碰到”LIBC.SO.6: VERSION `GLIBC_2.14′ NOT FOUND”的解决方法(1)
  5. lightoj 1020 (博弈水题)
  6. 发那科机器人网段_FANUC机器人基本操作指导
  7. android spp协议,Android蓝牙开发SPP协议通信
  8. 线性回归的从零开始实现-08-p3
  9. oracle for redhat 5.4 x64安装
  10. 在Linux上运行ASP.NET vNext
  11. atitit.dw不能显示正确的百分比高度in dw的解决
  12. 好用的android剪辑软件,最好用的视频剪辑app软件有哪些?自媒体人都在用的六款app软件...
  13. FPGA | Vivado 查看最大工作频率(Fmax)
  14. psd图层重命名,ps批量修改图层名字的脚本(附批量替换方法)
  15. 高精度定位系统融合定位模式崭露头角
  16. 使用bs4爬取《孙子兵法》(处理string属性遇见<br>标签时提取为空)
  17. OceanBase社区版4.0,给了我很多惊喜
  18. 手机快播安卓版 Qvod player V1.0.19
  19. 面板数据、工具变量选择和Hausman检验的若干问题
  20. 过了技术面却在HR面被刷?必备40问!从容应对HR,斩获N多大厂offer!

热门文章

  1. UML-- plantUML安装
  2. 标线markLine的用法
  3. WordPress WP Photo Album Plus插件‘wppa-tag’跨站脚本漏洞
  4. 给 TWebBrowser.Document 定义事件
  5. C语言栈实现逆波兰算法
  6. ROS(Robot Operating System)笔记 : 2.创建并配置package
  7. Git 学习笔记之 merge
  8. 如何查看linux中文件打开情况
  9. 支持向量机SVM算法原理及应用(R)
  10. JAVA中动态编译的简单使用