a bulb image with google’s logo in the middle

Understanding Rows and Columns especially In Data Science

Onyinye Iloanugo
2 min readAug 9, 2020

--

have you ever found yourself looking up rows and columns on google because you got confused?

well there is an easy way to understand rows and columns especially when cleaning or exploring data.

  1. (ROWS, COLUMNS)

We find ourselves saying row before column, if you don’t say it like that, then i guess you have to learn that, because that’s the first step to smashing this concept.

2. (X-AXIS, Y-AXIS)

have you also figured this out, like we also say x-axis before the y-axis. come to think of it, let go to the next step.

3. (HORIZONTAL,VERTICAL)

the x-axis is on the horizontal line and the y-axis is on the vertical line.

4. ( — — , |)

If you had to look up horizontal and vertical, that’s how it looks like.

5.(0,1)

when working with pandas, we call the axis we want to work on using zero and one to indicate the axis. and * drum rolls * i know you figured it out already. “ZERO is for x-axis and also for the rows” (axis = 0), while “ONE is for the y-axis and also for the columns”(axis = 1).

I hope this will help someone who might struggle with row and column while learning

--

--

Onyinye Iloanugo

Data scientist with machine learning || Front end developer. learning everyday and will be writing more on what took me time to learn and concepts that helped.