Why does axis=0 in this course mean columns, and axis=1 means rows?
I’ve been coding using pandas and numpy for about 2 years and this is the first confusion i got during this course
for some unknown reason X matrix contains training examples as columns, not rows (according to a test in week3), probably for the same reason i cannot answer correctly to other questions due to reversed axes in the course
also it’s not stated that X is transposed either, this could make sense
this is how i used to imagining the table data, on the 0-th row we have first training example, not on the 0-th column, because columns represent features of an instance, and on the rows we fill it with values
same here, usually to answer this i would without doubt write m = X.shape, but here it equals 2, to it’s transposed from the beginning for some reason, why?