This command allows me to see all my remotes
git remote -v
what do these three measures (Mean, Median, Mode)?
they measure the central tendency
What is the output of the function: random.choice('Amine')
either A ,or m, or i, or n, or e.
What is the function that allows us to loop over a list and retrieve the index and element
enumerate
These two methods return descriptive statistics and informations such as (missing values and column datatypes) for a dataframe respecitvely?
.describe() & .info()
These two commands we discussed are not git commands, but exist in Github
Fork & Pull Request
Describe a distribution that is positively skewed in terms of the central tendency
mode < median < mean
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).
“IndexError: list index out of range”, This error happens when?
Going past the last index of a list.
This method is the inverse of .pivot_table?
.melt
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
How to calculate probability density function
the area under the curve distribution in a specific range.
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
What method can we when looping over a dictionary to retrieve key and value pairs
.items()
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.
What git commands do I use to create upstream master and pulls files from it?
git remote add upstream {link}
git pull upstream master
What is the formula for standard deviation?
std = sqrt(mean(abs(x - x.mean())**2))
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
What is [9, 3, 9] * 2 ?
[9, 3, 9, 9, 3, 9]
This argument will concatenate dataframes column wise - pd.concat([df1, df2], _____ )?
axis=1
This command creates and checkouts to a new branch?
git checkout -b {branch__name}
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
what is the Tukey's method for outlier detection ?
[Q1 - 1.5(Q3 - Q1) , Q3 + 1.5(Q3 - Q1) ]
What is the output of ?
[str(round(2.2)) for i in range (1, 6)]
['2', '2', '2', '2', '2']
What datatype is titanic.groupby('Pclass')?
pandas.core.groupby.DataFrameGroupBy object