Created
April 15, 2020 10:41
-
-
Save jamespaultg/990e4650a384ade5c57a2eb56515ba62 to your computer and use it in GitHub Desktop.
Read a dbf file in python and convert to a pandas dataframe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from dbfread import DBF | |
| import pandas as pd | |
| dbf = DBF('your_dbf_file.dbf') | |
| frame = pd.DataFrame(iter(dbf)) | |
| frame |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment