Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #107507 > unrolled thread

Re: dbf remove fields.

Started byEthan Furman <ethan@stoneleaf.us>
First post2016-04-22 11:32 -0700
Last post2016-04-22 11:32 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: dbf remove fields. Ethan Furman <ethan@stoneleaf.us> - 2016-04-22 11:32 -0700

#107507 — Re: dbf remove fields.

FromEthan Furman <ethan@stoneleaf.us>
Date2016-04-22 11:32 -0700
SubjectRe: dbf remove fields.
Message-ID<mailman.4.1461349896.32212.python-list@python.org>
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~

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web