From coding Flashcards

1
Q

for a df, do something to every row or every column

A

DataFrame.apply(func, axis=0, raw=False, result_type=None, args=(), by_row=’compat’, engine=’python’, engine_kwargs=None, **kwargs)

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

Specify the return type of a function using Python’s type hints, e.g. specify returning a tuple with str, info, and exchange

A

code: -> typing.Tuple[str, Info, Exchange]:

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

Random variable of a Standard Normal:

A

Z

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