table_row = [ ]
for row in row_data:
current_row = [ ]
row_data=row.findAll(‘td’,{})
for data in enumerate(row_data):
# For different slicing like first colum has slicing -1 and other has no slicing…
# we can make use of index idx to slice acc. to them using if else statement…
# This table has slicing in every column
current_row.append(data.text[:-1])
table_row.append(current_row)
and output is
[ ]
just this …