Programming as a data scientist Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Jupyter Notebook

A

Also called a Notebook, a cloud-based interface for writing, executing, and presenting Python code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Markdown

A

A way of writing text that, when read by an interpreter, formats the text that you’ve written so that it includes styling such as headers, bold, and italics.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Cascading Style Sheets CSS

A

(programming language) is a stylesheet language used to describe the presentation of a document written in HTML or XML. It describes how elements should be rendered on screen, on paper, in speech, or on other media.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the file extension for Jupyter Notebooks?

A

.ipynb

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

State of a Variable

A

What value is assigned to a variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

variable

A

a named container that can store a changeable data value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

state

A

data that defines the condition of some object of program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Reserved word

A

a special category of words that you’re not allowed to use as variable names in a given programming language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Snake case

A

A style of writing in which each space is replaced by an underscore

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

String

A

A sequence of letters, numerals, punctuation marks, or other characters, treated as text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Integar

A

Also called an int, a whole number that isn’t written as a fraction or with a decimal point

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Floating-point number

A

Also called a float, a number that includes a decimal point

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Boolean

A

A binaroy variable with two possible values: true and false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Concatenate

A

link (things) together in a chain or series

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

List

A

An ordered collection of data in Python

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Dictionary

A

A collection of key-value pairs in Python

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Function

A

A block of code that describes a repeatable process or behavior

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Argument

A

A value or other input that is passed into a function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Parameter

A

A placeholder variable listed in a function declaration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Parameter list

A

The parameters that a function expects to be passed inside to the main body of the function when the function is called

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Determinate function

A

A function that will always return the same output for a given input

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Side Effect

A

Any observable thing that happens while a function is running

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Return statement

A

The main effect of a function, giving as a result whatever comes after the keyword return

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Control flow

A

Also called flow of execution, the tools provided by a programming language to conditionally determine which set of instructions runs

Example: if/elif/else and try/except

24
Q

logical operators

A

used to combine conditional statements
and, or, not`

25
Q

conditional statement

A
26
Q

logical expression

A
27
Q

Loop

A

A construct that allows you to repeat a set of instructions a specific number of times, or until a specific condition is true.

28
Q

zero-indexed

A

means that the first element of a list (or any sequence) is accessed with the index 0.

29
Q

instantiate

A

means to create an instance of an object or data structure.
Example: When you create a list in Python, you are “—-“ ing a list object.

30
Q

Dependencies

A

Other modules that a package depends on to run properly

31
Q

Python object

A

A collection of attributes and methods

32
Q

Method

A

A function that is attached to an object as one of the object’s attributes

33
Q

Attribute

A

A set of properties that belong to an object

34
Q

abstract base class (ABCs)

A

provide a way to define interfaces when other techniques like hasattr() would be clumsy. They introduce virtual subclasses, which are classes that don’t in herit from a class but are still recognized in isinstance() and issubclass()

35
Q

numbers class

A

The root of the numeric hierarchy.

36
Q

abstraction

A

abstract category of objects

37
Q

API

A

Application Programing Interfaces
are web services that website owners provide for users to request certain types of data from large databases that are frequently being updated.

37
Q

web scraping

A

basically glorified copying and pasting straight from the webpage, but you get the computer to do all of the work automatically.

37
Q

SQL data bases

A
37
Q

robots.txt

A

root page of a web site that states the rules for that site about scraping (add this after the main URL)

37
Q

Request

A

a query from the user to the web

37
Q

Response

A

What the web server returns as a result of the request

38
Q

Status code

A

A numeric code that the server sends in response with regard to the request’s status

39
Q

Rate-limiting

A

A policy to limit the use of an API to a certain number of API requests over a period of time

40
Q

API key

A

An authorization code that is passed to an API request and identifies the requester

41
Q

JavaScript Object

A

JSON, a common data format used for API requests and responses that is easy for humans to read and write and easy for machines to parse and generate.

42
Q

Parameters

A

Arguments sent to the API that define the request and expected response

43
Q

Representational state transfer

A

REST, a set of constraints for building web APIs.

44
Q

Repository

A

(repo) is a storage location on platforms like GitHub where code, data, and project files are kept. It allows for version control, collaboration, and organization.

Simply put it is like a folder on a platform like GitHub where you can store your project files and track changes. It helps you and others work together on the project.

45
Q

Parse

A

To take formatted data (such as a JSON object as a string) and convert it into a data structure that your programming language can use, like a dictionary in Python.

46
Q

Web scraping

A

The process of using a program to follow links, find data on pages, and download that dat for processing

47
Q

Web crawlers

A

Also called spiders, programs that have the ability to automatically follow links on web pages and parse the data on a web page

48
Q

NumPy

A

A library in Python that forms the basis for many other scientific computation libraries

49
Q

pandas

A

Short for Paython data analysis library, a Python library that’s built on top of NumPy

50
Q

NumPyarray

A

A table of elements that are all of the same type

51
Q

DataFrame

A

A pandas data structure similar to spreadsheet

52
Q

Series

A

A single column in a pandas Data Frame