写作工具_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,一经查实,立即删除!

相关文章

leetcode 91. 解码方法(dp)

解题思路 记忆化搜索,记录已经计算过的子问题 代码 func numDecodings(s string) int {temp:make([]int,len(s),len(s))for i : range temp {temp[i]-1}return de(s,0,temp) } func de(s string,cur int,dp []int) int {if curlen(s){return 1}if dp[cur]!-1{re…

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

test5

test5 转载于:https://www.cnblogs.com/Forever77/p/11468284.html

ux和ui_阅读10个UI / UX设计系统所获得的经验教训

ux和uiAs a way to improve my UI/UX skills I decided to read the guidelines for 10 popular UI/UX design systems. In this article I will give you a concise summary of the most important concepts. 为了提高我的UI / UX技能,我决定阅读10种流行的UI / UX…

大数据(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…

第1次作业:阅读优秀博文谈感想

摘要:本文介绍第1次作业的详细内容,包括评分标准。 注:本次作业提交截止时间为UTC8(北京时间),2017-9-17 22:00(星期日),以博客发表日期为准。 1. 作业内容 阅读一些优秀博文(见第二…

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…

leetcode 28. 实现 strStr()(kmp)

实现 strStr() 函数。 给你两个字符串 haystack 和 needle ,请你在 haystack 字符串中找出 needle 字符串出现的第一个位置(下标从 0 开始)。如果不存在,则返回 -1 。 说明: 当 needle 是空字符串时,我们…

git 代码推送流程_Git 101:一个让您开始推送代码的Git工作流程

git 代码推送流程Im going to explain Git the way I wish someone had explained to me back when I was first learning. 我将以我希望有人在我第一次学习时向我解释的方式来解释Git。 Ill show how you can get started with just a few commands, and the concepts at wor…

多元时间序列回归模型_多元时间序列分析和预测:将向量自回归(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.输入学号,识别年级、专业…

linux:使用python脚本监控某个进程是否存在(不使用crontab)

背景: 需要每天定时去检测crontab进程是否启动,所以不能用crontab来启动检测脚本了,直接使用while 循环和sleep方式实现定时检测 # coding:utf-8 import os import send_message import datetime import timecurr_time datetime.datetime.no…

Go语言实战 : API服务器 (1) 技术选型

1. API是什么? API(Application Programming Interface,应用程序编程接口)是一些预先定义的函数或者接口,目的是提供应用程序与开发人员基于某软件或硬件得以访问一组例程的能力,而又无须访问源码&#xf…

天猫客户端组件动态化方案——VirtualView 工具大更新

前文《天猫客户端组件动态化的方案——VirtualView 上手体验》都提到了自定义模板编译成二进制数据的过程,在 Android 版的 Playground 里内置了一个编译工具可以实时调测,然而业务开发过程中,不可能在手机上编译,而是在电脑或者后…

tableau可视化_如何在Tableau中构建自定义地图可视化

tableau可视化Sometime last year, I got fascinated with bubble charts when I saw a data visualization video, Hans Roslings 200 Countries, 200 Years, 4 Minutes - The Joy of Stats from BBC.去年的某个时候,当我看到一个数据可视化视频时,我迷…

数据分析和大数据哪个更吃香_处理数据,大数据甚至更大数据的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…

test6

test6 转载于:https://www.cnblogs.com/Forever77/p/11474320.html

VueJs学习入门指引

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

粒子网格算法 pm_使粒子网格与Blynk一起使用的2种最佳方法

粒子网格算法 pmThis post is originally from my blog on www.jaredwolff.com.这篇文章最初来自我在www.jaredwolff.com上的博客。 Writing an app takes time. It takes even more time to write one that works with hardware.编写应用程序需要时间。 编写与硬件兼容的代码…