Git Crazy
Stat Attack
¯\_(ツ)_/¯
Not a Viper
Black & White Bear
100

This command allows me to see all my remotes 

git remote -v

100

what do these three measures (Mean, Median, Mode)? 

they measure the central tendency

100

What is the output of the function: random.choice('Amine')

either A ,or m, or i, or n, or e. 

100

What is the  function that allows us to loop over a list and retrieve the index and element 

enumerate

100

These two methods return descriptive statistics and informations such as (missing values and column datatypes) for a dataframe respecitvely?

.describe() & .info()

200

These two commands we discussed are not git commands, but exist in Github

Fork & Pull Request

200

Describe a distribution that is positively skewed in terms of the central tendency

mode < median < mean

200

What is the difference between iloc and loc?

loc gets rows (or columns) with particular labels from the index.

iloc gets rows (or columns) at particular positions in the index (so it only takes integers).

200

 “IndexError: list index out of range”, This error happens when?

Going past the last index of a list. 

200

This method is the inverse of .pivot_table?

.melt

300

What is a merge conflict?

A merge conflict is caused by competing line changes, such as when people make different changes to the same line of the same file

300

How to calculate probability density function

the area under the curve distribution in a specific range. 

300

What does The Central Limit Theorem state

The Central Limit Theorem states that the sampling distribution of the sample means approaches a normal distribution as the sample size gets larger

300

What method can we when looping over a dictionary to retrieve key and value pairs

.items()


300

describe this relative path pd.read_csv("../../datasets/data.csv")

we are going 2 levels up then we will go to datasets folder then we will find the data file.

400

What git commands do I use to create upstream master and pulls files from it?

git remote add upstream {link}

git pull upstream master

400

What is the formula for standard deviation?

std = sqrt(mean(abs(x - x.mean())**2))

400

What does happen for the DataFrame when I use reset_index and , reindex?

reset_index

the original index will be a column and a new index will be created

reindex

assign a new list or series etc.. and remove the old index



400

What is [9, 3, 9] * 2 ? 



[9, 3, 9, 9, 3, 9]

400

This argument will concatenate dataframes column wise - pd.concat([df1, df2], _____ )?

axis=1

500

This command creates and checkouts to a new branch?

git checkout -b {branch__name}

500

The difference between numpy.std and pandas.DataFrame.std

Difference is in the default of the denominator for the mean: N for numpy, N - 1 for pandas

500

what is the Tukey's method for outlier detection ?

[Q1 - 1.5(Q3 - Q1) , Q3 + 1.5(Q3 - Q1) ] 

500

What is the output of ?

[str(round(2.2)) for i in range (1, 6)]



['2', '2', '2', '2', '2']

500

What datatype is titanic.groupby('Pclass')?

pandas.core.groupby.DataFrameGroupBy object

M
e
n
u