Select to view content in your preferred language

Conversion from CSV to DBF altering data...

7650
30
Jump to solution
02-04-2016 01:19 PM
DannyLackey
Deactivated User

So, I successfully converted my .csv to a .dbf with this script:

env.workspace = r"c:\Output"

inTable = r"c:\Output\test.csv"
outLocation = r"c:\Output"
outTable = "test.dbf"

arcpy.TableToTable_conversion(inTable, outLocation, outTable)

The problem is, in the resulting .dbf file, its adding a decimal with trailing zeroes to the value:

750050

becomes

750050.00000000000

How can I avoid this?

30 Replies
XanderBakker
Esri Esteemed Contributor

Glad to hear you made it work!

0 Kudos