jeudi 26 mars 2015

Deleting rows on dbf table with python for ModelBuilder?


Being not very familiar with python, and after carrying out unfruitful long researches on internet, I submit to you my problem, hoping favorable reply.


I have a DBF table with geochemical data and I would like writing a script to be integrated in a wider model built with ModelBuilder, and that automatically delete some specific rows, precisely (please see attached example) the rows 1, 2, 4, 5 and 6, while the row 3 (Analyte symbol) is maintained. This is first.


Secondly, I would like to automatically fill in some empty cells in some coloumns (e.g., A, B, C) with the caracter 0 (zero). Could you please show me the way?


Example





Aucun commentaire:

Enregistrer un commentaire