Programming as a data scientist 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
logical operators
used to combine conditional statements `and, `or`, `not`
25
conditional statement
26
logical expression
27
Loop
A construct that allows you to repeat a set of instructions a specific number of times, or until a specific condition is true.
28
zero-indexed
means that the first element of a list (or any sequence) is accessed with the index `0`.
29
instantiate
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
Dependencies
Other modules that a package depends on to run properly
31
Python object
A collection of attributes and methods
32
Method
A function that is attached to an object as one of the object's attributes
33
Attribute
A set of properties that belong to an object
34
abstract base class (ABCs)
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
numbers class
The root of the numeric hierarchy.
36
abstraction
abstract category of objects
37
API
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
web scraping
basically glorified copying and pasting straight from the webpage, but you get the computer to do all of the work automatically.
37
SQL data bases
37
robots.txt
root page of a web site that states the rules for that site about scraping (add this after the main URL)
37
Request
a query from the user to the web
37
Response
What the web server returns as a result of the request
38
Status code
A numeric code that the server sends in response with regard to the request's status
39
Rate-limiting
A policy to limit the use of an API to a certain number of API requests over a period of time
40
API key
An authorization code that is passed to an API request and identifies the requester
41
JavaScript Object
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
Parameters
Arguments sent to the API that define the request and expected response
43
Representational state transfer
REST, a set of constraints for building web APIs.
44
Repository
(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
Parse
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
Web scraping
The process of using a program to follow links, find data on pages, and download that dat for processing
47
Web crawlers
Also called spiders, programs that have the ability to automatically follow links on web pages and parse the data on a web page
48
NumPy
A library in Python that forms the basis for many other scientific computation libraries
49
pandas
Short for Paython data analysis library, a Python library that's built on top of NumPy
50
NumPyarray
A table of elements that are all of the same type
51
DataFrame
A pandas data structure similar to spreadsheet
52
Series
A single column in a pandas Data Frame