Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Ethan Furman Newsgroups: comp.lang.python Subject: Re: dbf remove fields. Date: Fri, 22 Apr 2016 11:28:55 -0700 Lines: 17 Message-ID: References: <018601d19cbd$30440090$90cc01b0$@churchs.com.mx> <571A6D67.2080502@stoneleaf.us> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de RaRYnWSoKyIvw3lL/FkUrgRWCK4Yt/JI58UFMY/Wa1Tw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'url:pypi': 0.03; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:remove': 0.16; 'wrote:': 0.16; 'string': 0.17; 'handles': 0.20; 'am,': 0.23; 'tried': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; 'error': 0.27; 'table,': 0.29; '~ethan~': 0.29; 'convert': 0.29; "i'm": 0.30; 'url:python': 0.33; 'values.': 0.33; 'could': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'sure': 0.39; 'to:addr:python.org': 0.40; 'charset:windows-1252': 0.62; 'float:': 0.72; 'package?': 0.84 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: <018601d19cbd$30440090$90cc01b0$@churchs.com.mx> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <571A6D67.2080502@stoneleaf.us> X-Mailman-Original-References: <018601d19cbd$30440090$90cc01b0$@churchs.com.mx> Xref: csiph.com comp.lang.python:107505 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. -- ~Ethan~