写作工具_4种加快数据科学写作速度的工具

写作工具

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 jovian
jovian.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.mzph.cn/news/391388.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

python数据结构与算法

2019独角兽企业重金招聘Python工程师标准>>> http://python.jobbole.com/tag/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95/ 转载于:https://my.oschina.net/u/3572879/blog/1611369

大数据(big data)_如何使用Big Query&Data Studio处理和可视化Google Cloud上的财务数据...

大数据(big data)介绍 (Introduction) This article will show you one of the ways you can process stock price data using Google Cloud Platform’s BigQuery, and build a simple dashboard on the processed data using Google Data Studio.本文将向您展示使用Google Cl…

ubuntu 16.04常用命令

ip配置: 终端输入vi /etc/network/interfaces命令编辑配置文件,增加如下内容:         auto enp2s0    iface enp2s0 inet static    address 192.168.1.211    netmask 255.255.255.0    gateway 192.168.1.1 重启网卡&#xf…

多元时间序列回归模型_多元时间序列分析和预测:将向量自回归(VAR)模型应用于实际的多元数据集...

多元时间序列回归模型Multivariate Time Series Analysis多元时间序列分析 A univariate time series data contains only one single time-dependent variable while a multivariate time series data consists of multiple time-dependent variables. We generally use mult…

字符串基本操作

1.已知‘星期一星期二星期三星期四星期五星期六星期日 ’,输入数字(1-7),输出相应的‘星期几 s星期一星期二星期三星期四星期五星期六星期日 d int(input(输入1-7:)) print(s[3*(d-1):3*d]) 2.输入学号,识别年级、专业…

数据分析和大数据哪个更吃香_处理数据,大数据甚至更大数据的17种策略

数据分析和大数据哪个更吃香Dealing with big data can be tricky. No one likes out of memory errors. ☹️ No one likes waiting for code to run. ⏳ No one likes leaving Python. 🐍处理大数据可能很棘手。 没有人喜欢内存不足错误。 No️没有人喜欢等待代码…

MySQL 数据还原

1.1还原使用mysqldump命令备份的数据库的语法如下&#xff1a; mysql -u root -p [dbname] < backup.sq 示例&#xff1a; mysql -u root -p < C:\backup.sql 1.2还原直接复制目录的备份 通过这种方式还原时&#xff0c;必须保证两个MySQL数据库的版本号是相同的。MyISAM…

VueJs学习入门指引

新产品开发决定要用到vuejs&#xff0c;总结一个vuejs学习指引。 1.安装一个Node环境 去Nodejs官网下载windows版本node 下载地址&#xff1a; https://nodejs.org/zh-cn/ 2.使用node的npm工具搭建一个Vue项目&#xff0c;这里混合进入了ElementUI 搭建指引地址: https:…

centos7.4二进制安装mysql

1&#xff1a;下载二进制安装包&#xff08;安装时确保没有mysql数据库服务器端&#xff09;&#xff1a; mariadb-10.2.12-linux-x86_64.tar.gz、 mariadb-10.2.12.tar.gz。2&#xff1a;创建系统账号指定shell类型&#xff08;默认自动创建同名的组&#xff09;3&#xff1a;…

批梯度下降 随机梯度下降_梯度下降及其变体快速指南

批梯度下降 随机梯度下降In this article, I am going to discuss the Gradient Descent algorithm. The next article will be in continuation of this article where I will discuss optimizers in neural networks. For understanding those optimizers it’s important to…

java作业 2.6

//程序猿&#xff1a;孔宏旭 2017.X.XX /**功能&#xff1a;在键盘输入一个三位数&#xff0c;求它们的各数位之和。 *1、使用Scanner关键字来实现从键盘输入的方法。 *2、使用取余的方法将各个数位提取出来。 *3、最后将得到的各个数位相加。 */ import java.util.Scanner; p…

Linux 命令 之查看程序占用内存

2019独角兽企业重金招聘Python工程师标准>>> 查看PID ps aux | grep nginx root 3531 0.0 0.0 18404 832 ? Ss 15:29 0:00 nginx: master process ./nginx 查看占用资源情况 pmap -d 3531 top -p 3531 转载于:https://my.oschina.net/mengzha…

逻辑回归 自由度_回归自由度的官方定义

逻辑回归 自由度Back in middle and high school you likely learned to calculate the mean and standard deviation of a dataset. And your teacher probably told you that there are two kinds of standard deviation: population and sample. The formulas for the two a…

网络对抗技术作业一 201421410031

姓名&#xff1a;李冠华 学号&#xff1a;201421410031 指导教师&#xff1a;高见 1、虚拟机安装与调试 安装windows和linux&#xff08;kali&#xff09;两个虚拟机&#xff0c;均采用NAT网络模式&#xff0c;查看主机与两个虚拟机器的IP地址&#xff0c;并确保其连通性。同时…

生存分析简介:Kaplan-Meier估计器

In my previous article, I described the potential use-cases of survival analysis and introduced all the building blocks required to understand the techniques used for analyzing the time-to-event data.在我的上一篇文章中 &#xff0c;我描述了生存分析的潜在用例…

使用r语言做garch模型_使用GARCH估计货币波动率

使用r语言做garch模型Asset prices have a high degree of stochastic trends inherent in the time series. In other words, price fluctuations are subject to a large degree of randomness, and therefore it is very difficult to forecast asset prices using traditio…

方差偏差权衡_偏差偏差权衡:快速介绍

方差偏差权衡The bias-variance tradeoff is one of the most important but overlooked and misunderstood topics in ML. So, here we want to cover the topic in a simple and short way as possible.偏差-方差折衷是机器学习中最重要但被忽视和误解的主题之一。 因此&…

win10 uwp 让焦点在点击在页面空白处时回到textbox中

原文:win10 uwp 让焦点在点击在页面空白处时回到textbox中在网上 有一个大神问我这样的问题&#xff1a;在做UWP的项目&#xff0c;怎么能让焦点在点击在页面空白处时回到textbox中&#xff1f; 虽然我的小伙伴认为他这是一个 xy 问题&#xff0c;但是我还是回答他这个问题。 首…

重学TCP协议(1) TCP/IP 网络分层以及TCP协议概述

1. TCP/IP 网络分层 TCP/IP协议模型&#xff08;Transmission Control Protocol/Internet Protocol&#xff09;&#xff0c;包含了一系列构成互联网基础的网络协议&#xff0c;是Internet的核心协议&#xff0c;通过20多年的发展已日渐成熟&#xff0c;并被广泛应用于局域网和…

分节符缩写p_p值的缩写是什么?

分节符缩写pp是概率吗&#xff1f; (Is p for probability?) Technically, p-value stands for probability value, but since all of statistics is all about dealing with probabilistic decision-making, that’s probably the least useful name we could give it.从技术…