Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Pandas `dropna()` by row number

In Pandas,

df.dropna(subset=['Name of the column']) remove all the rows of the database df according to the presence of a NaN sting in the column Name of the column. This is very nice but it wilml be simpler for me to do this by the number of the colomn detectec by iloc. But I do not find the way in the documentation.

Could somebody help. Thanks

Pandas `dropna()` by row number

In Pandas,

df.dropna(subset=['Name of the column']) remove all the rows of the database df according to the presence of a NaN sting in the column Name of the column. This is very nice but it wilml will be simpler for me to do this by the number of the colomn detectec detected by iloc. But I do not find the way in the documentation. documentation and in the question answer posted on the Net.

Could somebody help. Thanks Thanks

Pandas `dropna()` by row number

In Pandas,

df.dropna(subset=['Name of the column']) remove all the rows of the database df according to the presence of a NaN sting in the column Name of the column. This is very nice but it will be simpler for me to do this by the number of the colomn detected by iloc. But I do not find the way in the documentation and in the question answer posted on the Net.

Could somebody help. Thanks