如何使用Dataquest

2019年3月1日

数据查询的学习平台非常易于使用,如果您愿意,可以直接进入。但是,如果您是那种喜欢先翻阅用户手册的人,那么本文适合您! 

In it, we’re going to cover the basic features of the 数据查询platform, 和 pass along some helpful tips 和 tricks to make your learning more efficient along the way!

数据查询Basics: 路径, 培训班, 和 Missions

数据查询’s learning content is broken into (in order of largest to smallest) paths, 脚步, 培训班, 任务 和 guided projects, 和 屏幕.

数据查询结构图

路径 are the specific course sequences that are organized around specific job titles 和 coding languages, like Python数据科学家 or R中的数据分析师.

You can switch between paths at any time, 和 you do not have to complete prior 培训班 before starting 培训班 later in the path. We do recommend you try to work through the paths in order, though.

路径分解为 脚步, which are smaller sequences of 培训班 that focus on a specific skillset. 的 first step in the Data Scientist path in Python path, for example, consists of two 培训班 that cover the fundamentals of programming in Python for Data Science 和 several guided projects that challenge you to apply 和 expand on those skills.

完成某个步骤后,您将继续进行下一步的课程,该课程将重点帮助您建立不同的技能,因此在开发之路的尽头,您已经完成了多个步骤,每个步骤都对您有所帮助您可以在先前学习的基础上发展重要的新技能。

步骤分为 培训班, 和 you can typically expect 2-5 培训班 in each step. Each course focuses on a smaller specific topic. For example, in the second step of the Data Scientist path, the first course is focused on covering how to use the pandas and numpy 用于数据科学任务的库。

每个课程中有几个 任务,较小的学习单元,重点放在课程主题的子主题上。在上述过程中 pandas and numpy,例如,有一项任务介绍了 pandas,该任务涵盖了使用 pandas,介绍了 numpy等等。任务将课程分解为可消化的部分。对于许多学生来说,应该可以在一个学习阶段内完成任务。

指导项目 typically come at the end of each course, 和 their aim is to get you to apply the new skills you’ve learned as you moved through the course’s 任务. 指导项目 vary in length 和 complexity, 和 are relatively open-ended to encourage you to apply your skills 和 creativity.

最后, 屏幕 是Dataquest上最小的学习单元,每个任务或指导项目都分为一系列屏幕。通常,屏幕在屏幕左侧会显示一个新概念,然后通过在屏幕右侧编写代码来挑战您应用他们刚刚学到的知识。然后根据正确答案检查该代码,以便您立即了解是否掌握了该概念。

数据清理实时编码

您总是可以在以下位置找到所有Dataquest的课程 目录, 和 clicking on any path or course will take you to a page with details about what it contains.

仪表板:您的学习中心

的 仪表板 is your home base on 数据查询, 和 it’s the best place to track 和 measure your 数据查询progress. When you log in to 数据查询, it will be the first 屏幕 you see, but as long as you’re logged in, you can always access it at dataquest.io/dashboard as well.

您将在仪表板上看到的第一件事是提示,提示您从学习中最后一次停下的地方开始。在它下面是一个进度跟踪器,它显示您已完成的所选路径的百分比(所选路径上方的绿色条)。本部分还显示了您过去一个月在网站上花费了多少时间,以及完成了多少任务和项目。

注意:由于我们一直在添加新课程,因此您可能偶尔会发现完成率略有下降,因为我们已经在您的课程中添加了新课程。

如何使用dataquest

You can change the path you're on at any time by clicking the Pencil icon next to "current path." Your progress will be saved no matter which path you select, so feel free to switch back 和 forth!

Below this section you’ll see your study schedule, 和 a weekly agenda based on your planned schedule 和 path progress. This is used to set weekly study goals for you. You can change the number of hours you're planning to study at any time by clicking the Pencil icon 和 your agenda will adjust itself accordingly.

新数据任务仪表板目标

Below this, you’ll see a more detailed visualization of your progress in the context of each step of the path. In the image below, for example, you can see that the student has completed Step 1 of this path, 和 is currently working in the 探索性数据可视化课程,这是步骤2中的第二门课程。

dataquest-course-step-page

学习界面

当您进入任何Dataquest课程时,您可能会看到一个介绍性的文本屏幕,但是您将从那里快速转到双窗口屏幕,如下图所示。

This 屏幕 layout is the foundation of the 数据查询learning experience, 和 it allows you to read about a new concept in the left window 和 then immediately experiment 和 apply what you’ve learned in the right window.

学习界面总数

此屏幕中包含许多功能,因此让我们仔细看一下。

学习界面:顶部栏

dataquest-top-bar

在屏幕顶部,您会看到一个灰色的菜单栏。从左到右,这包含:

  • 仪表板 按钮,您将返回到仪表板
  • 的标题 任务 您目前正在从事
  • A page icon that indicates the status of your virtual code-runner. If this is a green checkmark, you're good to run code! You can click on this icon for more details about your connection 和 virtual machine status.
  • A ? button that will help you resolve issues 和 connect you with our support team
  • 响铃图标,将显示您从平台收到的所有通知
  • 帐户图标。单击此按钮将打开一个菜单,该菜单将您链接到重要页面,例如仪表板,帐户页面,当前Dataquest计划,Dataquest配置文件等。

学习界面:左窗口

在左侧窗口的顶部,您会注意到两个标签: 学习任务参考.

默认情况下,此窗口将显示 学习 tab, 和 this is where you’ll be presented with new concepts. In the 学习 tab, you’ll read through a simple explanation of a new concept, often including code examples 和 diagrams. As you reach the end of this explanation, you’ll scroll to a section of the tab called 使用说明 它将在右侧的编码窗口中说明您需要完成的操作。

如何查询数据

If you run into trouble, you can scroll further down 和 click the “Get Help” button to see a customized hint, see the correct answer, or contact support.

的 任务参考 tab opens a search bar that allows you to quickly search for information from 任务 和 屏幕 you’ve already completed. If you’ve forgotten how to do something you learned previously 和 need a quick refresher, you can find the relevant content 和 review it quickly 和 easily in the 任务参考 tab.

学习界面:右窗口

屏幕右侧的dataquest

在屏幕的右侧,您可以编写代码来完成屏幕左侧概述的说明。

这里通常有两个标签。默认选项卡将是一个脚本选项卡,通常称为script.py or script.r,这就是您编写代码的地方。但是通常会有第二个标签,该标签以您正在使用的数据集命名。单击此选项卡以表格格式显示标题行和数据集的前五个条目,因此您可以轻松地引用数据的外观。

在脚本标签中,打开每个新屏幕时,通常会看到一些为您编写的代码。您在以前的屏幕中编写的代码将被保存,以便您每次回头查看该屏幕时都可以看到所做的操作。尽管不是必需的,但最好在编写代码时在代码中添加注释,以便在回头时可以阅读自己对代码功能的解释。

在编写代码时,您会注意到您的文字会根据您所写的内容而改变颜色。这就是所谓的 语法高亮, 和 it helps you differentiate between different syntax elements within your code. You’ll also notice that this window automatically indents code based on what you’ve written, 和 that you’ll be prompted to autocomplete things like variable names rather than having to type them out. 的se time-saving features make writing code more efficient.

另请注意,在一个屏幕中定义了变量后,该变量将存储到任务的其余部分,因此您不必在进入的每个新屏幕上都重新定义它。因此,例如,如果您创建一个名为 my_dataset 在第一个屏幕中,您将能够编写一个 for 在第二个循环显示的屏幕中循环播放 my_dataset 无需复制所有内容 my_dataset 第二个屏幕中的代码。

At the bottom of the right window, you’ll see four buttons. From left to right, these are: 运行代码, 提交答案, 重设密码, 和 打开控制台. 

运行代码 button does exactly what you’d expect: run your code. You can use this button to run code snippets 和 experiment before you're ready to submit your answer.

提交答案 button runs your code 和 submits it as your answer to be checked by our answer-checking system. 的re are three possible results of clicking this button:

  1. Your code works 和 is correct. In this case, you’ll hear a cheery “ping” sound 和 see a prompt to move on to the next 屏幕.
  2. Your code works but is incorrect. In this case, you’ve written working code, but it didn’t produce the answers we were expecting, 和 you’ll get an error display that will show which variables or elements differ from what the answer-checker expects.
  3. Your code doesn’t work. You may have a syntax error or there’s some other problem with the way you’ve written your code, 和 you’ll see an error message based on the coding language you’re using.

重设密码 按钮会将此屏幕上的代码重置为默认状态-首次打开此屏幕时显示的内容。 

的 打开控制台 button opens a small sub-window in which you can type 和 run small snippets of code without affecting the script you’re writing above. This can be useful for experimentation.

学习界面:底部栏

底栏

在屏幕底部,您将看到另一个灰色栏。在左侧,您会看到当前名称 屏幕 you’re working on, 和 a sandwich menu button, If you click this, it opens a menu with links 和 the names for each 屏幕 in your current 任务.

Further right along the bar, you’ll see a counter that indicates your current 屏幕 number 和 the total number of 屏幕 in the 任务 (i.e., 1/10 means you’re on 屏幕 1 out of 10 total 屏幕 for that 任务). On either side of this counter are 背部 and 下一页 按钮,分别将您带到上一个屏幕或下一个屏幕。

键盘快捷键

我们已经介绍了学习平台的所有视觉功能,但是如果您想以最大的效率工作,则无需使用按钮。您也可以使用键盘快捷键快速浏览平台。可以通过将鼠标悬停在每个按钮上来查看快捷方式:

dq-keyboard-shortcuts

下表列出了所有可用的键盘快捷键,以方便参考。您也可以访问此信息 在我们的知识库中.

Windows / Linux
苹果电脑
运行你的代码
alt + Space
option + Space
提交答案
alt + Enter
option + Enter
上一个画面
alt + b
option + b
下一个画面
alt + n
option + n
恢复到初始代码
alt + r
option + r
将代码转换为注释
ctrl + /
option + /

这是实践中的代码转换快捷方式。如果您将光标放在一行中输入快捷方式,则该行将被注释掉。如果使用光标突出显示多行,则在输入快捷方式时所有行将被注释掉。

dq-shortcut-gif

您也可以使用此快捷方式将注释快速转换回代码。

定制学习界面

If you'd like to customize your experience on 数据查询, the​re are a couple of things you can do. First, the central bar between the left 和 right windows can be dragged to resize these windows, giving you more room to read or more room to code depending on your preference.

You can also switch between the default "light mode" 和 a "dark mode" for both the left 和 right windows of the interface. This setting is accessible within the "settings" area of your account page, under text theme 和 editor theme for the left 和 right windows, respectively. (By default, your text theme is set to light 和 your editor theme is set to dark).

数据查询-暗模式

学习界面:其他情况

Although most of our 培训班 make use of the interface described above, there are some 培训班 that are a little different. 的 Command Line 培训班, for example, make use of a virtual command line environment on the right side of the 屏幕 (rather than a Python or R coding environment). And some 培训班 和 projects will use an embedded version of Jupyter Notebooks.

当您遇到这些替代界面时,课程说明将说明如何使用它们。但是,特别是对于Jupyter笔记本而言,您需要注意一些复杂问题。

首先是某些ISP会阻止或过滤用于连接Juptyer Notebook的连接类型,因此,如果遇到问题,请查阅有关Jupyter的支持文章 未加载 or 经常断开.

第二个问题是,如果您使用嵌入在我们网站上的Jupyter笔记本,则您的代码不会自动永久保存。如果要长期保存, 您应该点击顶部栏上的“下载”按钮 下载您的笔记本。也就是说,我们建议您安装Anaconda,以便习惯于在本地使用Jupyter Notebooks,这将使您更轻松地在Dataquest网站之外进行项目。

jupyter-bar的屏幕截图

Note also that clicking the key button in this top bar will allow you to access 和 download the solutions file, in case you need help or just wish to save it for future reference.

外卖

While most 屏幕 in each 任务 use the 学习ing Interface laid out above, the final 屏幕 of each 任务 will present you with a downloadable PDF we call a Takeaway. Each 任务’s takeaway summarizes the big concepts you learned over the course of the 任务 和 provides examples of their usage 和 syntax.

dq外卖

这些要点旨在方便快速地参考。您可以在编写代码时(在Dataquest或其他地方)随时参考它们,以复习所学知识。它们还可以用作快速学习指南或复习工具。例如,如果将它们加载到移动设备上,则可以翻阅它们,并从任何地方进行一点数据科学研究。

Tips 和 Tricks

的 数据查询platform is pretty straightforward, but here are a few of the key tips 和 tricks that’ll help make your time on 数据查询more effective 和 efficient:

  1. Don’t forget about hints, answers, 和 the FAQ. 如果确实需要支持,可以提供帮助,但是很多时候,您可以使用这些资源来解决自己的问题。
  2. 键盘快捷键很有趣. It only takes a few seconds to learn them, 和 they’ll speed up your navigation of 数据查询.
  3. 注释您的代码。 Although it’s not required in most 任务, it’s good practice 和 it can help you in the future. Since the code you write for each 屏幕 is saved 和 stored on that 屏幕, if you’ve commented it, you can look back 和 see your own explanations of what your code is doing.
  4. 下载外卖店. 的y’re really helpful for quick reference, 和 you can load them onto a mobile device 和 flip through them like notecards to get some studying in when you’re on the go.

标签

数据科学,dataquest,如何使用dataquest


你也许也喜欢

立即开始使用Dataquest- 免费!

__CONFIG_colors_palette __ {“ active_palette”:0,“ config”:{“ colors”:{“ 493ef”:{“ name”:“ Main Accent”,“ parent”:-1}},“ gradients”:[]},“调色板“:[{”名称“:”默认调色板“,”值“:{”颜色“:{” 493ef“:{” val“:” rgb(44,168,116)“,” hsl“:{” h“:154,” s“:0.58,” l“:0.42}}},”渐变“:[]},”原始“:{”颜色“:{” 493ef“:{” val“:” rgb( 19、114、211)“,” hsl“:{” h“:210,” s“:0.83,” l“:0.45}}},”渐变“:[]}}]} __ CONFIG_colors_palette__
立即注册

要么, 访问我们的定价页面 to learn about our Basic 和 Premium plans.