Last answered:

04 Jul 2024

Posted on:

03 Jul 2021

0

Choosing to remove the empty rows

In 3:57 on this lecture, if we chose to delete the rows with empty values instead of assigning a name to them,
What's the syntax to delete them?
What's the syntax to extract them?

1 answers ( 0 marked as helpful)
Posted on:

04 Jul 2024

0

from what I understood, I don't think that you can delete specific valuse cause from your data, you either delete an entire row or an entire column, cause arrays have to be with a specific size and shape. for example if you have this array 

[[1,2],

[3,4]] 

if you some how deleted the '3' its gonna look like this 

[[1,2],

[4]]

which is not possible for array to look like this

this is why you can't just delete these empty cells without deleting the entire row from the whole data set "row_data"


Submit an answer