Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #107507
| From | Ethan Furman <ethan@stoneleaf.us> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: dbf remove fields. |
| Date | 2016-04-22 11:32 -0700 |
| Message-ID | <mailman.4.1461349896.32212.python-list@python.org> (permalink) |
| References | <018601d19cbd$30440090$90cc01b0$@churchs.com.mx> <571A6D67.2080502@stoneleaf.us> <571A6E4B.9090501@stoneleaf.us> |
On 04/22/2016 11:28 AM, Ethan Furman wrote: > On 04/22/2016 10:34 AM, Ricardo Aguilar wrote: > >> Hi there i try to remove to fields in dbf table, how I can remove two >> fields? >> >> I wanna to remove because I have this error "ValueError: could not >> convert >> string to float: ****" But I no need this field. > > Have you tried my dbf package? > > https://pypi.python.org/pypi/dbf > > I'm pretty sure it handles such values. Yup, just checked -- it transforms invalid **** values to None. Since you're not using those fields that won't be a problem (otherwise you would have filter them out). -- ~Ethan~
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: dbf remove fields. Ethan Furman <ethan@stoneleaf.us> - 2016-04-22 11:32 -0700
csiph-web