ablitstein / vcards-to-csv Goto Github PK
View Code? Open in Web Editor NEWA script that will take a folder full of Vcards and output a CSV file with the contact information
A script that will take a folder full of Vcards and output a CSV file with the contact information
I'm running this in Annaconda Spyder as on a mac despite everything I do I cannot get the python script to recognise pandas I have verified I only have a single Python install
!runfile('/Users/rob/Downloads/Vcards-to-CSV-master/vcf_breakdown.py', args='python vcf_breakdown.py carterm.vcf', wdir='/Users/rob/Downloads/Vcards-to-CSV-master')
Traceback (most recent call last):
File "/Users/rob/Downloads/Vcards-to-CSV-master/vcf_breakdown.py", line 56, in
df = create_df(file_list)
File "/Users/rob/Downloads/Vcards-to-CSV-master/vcf_breakdown.py", line 49, in create_df
db.drop(['BEGIN', 'END', 'X-MS-OL-DEFAULT-POSTAL-ADDRESS', 'VERSION'], axis=1, inplace=True)
File "/opt/anaconda3/lib/python3.8/site-packages/pandas/core/frame.py", line 4163, in drop
return super().drop(
File "/opt/anaconda3/lib/python3.8/site-packages/pandas/core/generic.py", line 3887, in drop
obj = obj._drop_axis(labels, axis, level=level, errors=errors)
File "/opt/anaconda3/lib/python3.8/site-packages/pandas/core/generic.py", line 3921, in _drop_axis
new_axis = axis.drop(labels, errors=errors)
File "/opt/anaconda3/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 5282, in drop
raise KeyError(f"{labels[mask]} not found in axis")
KeyError: "['X-MS-OL-DEFAULT-POSTAL-ADDRESS'] not found in axis"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.