Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Michael Selik Newsgroups: comp.lang.python Subject: Re: fastest way to read a text file in to a numpy array Date: Tue, 28 Jun 2016 14:00:12 +0000 Lines: 8 Message-ID: References: <37b46ad8-8318-4d67-a65c-7dd7a50a3848@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de wPJtTT9AbsKBVlPcnS5vVAOr+WUob+HJYA0b6DCIjn6Q== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:text': 0.04; 'subject:file': 0.07; '2016': 0.16; 'numpy': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'statistics,': 0.16; 'subject:array': 0.16; 'subject:fastest': 0.16; 'wrote:': 0.16; 'email addr:gmail.com>': 0.18; 'to:2**1': 0.21; 'trying': 0.22; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'array': 0.29; 'summary': 0.29; 'tue,': 0.34; 'file': 0.34; 'received:google.com': 0.35; 'there': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'method': 0.37; 'data': 0.39; 'to:addr:python.org': 0.40; 'subject:read': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=eIqydVcVLMU5BpIbWI8wjaJY3SFe4LiYA2sKx8X9FGw=; b=ig0EA+Eb0G0MGEwmbt7Apqinicq0d50uuMZT1FflYalLGxREiPezYPqzM7H0jOiHeE QZ02Lh2WiGvLAFdQcPuQCDmQ6A2rcVagkzyaBAmEA6XDu+QzxBFaS+fYIHxUw5lR6N+J fF44W5pp6jHgFTBCsWuqYjtKB0s45zXXVfzd/fkmoyV1jydzwF4Vj+7hC4yoWgd2wJsg i09ryjKExChAIl0HGYVAgqwpvyrXOqkqWvM2ltTpi+20yZaR4rh5jJWsTv2NteRFdGBz J1miN+fmUUKh89SYkisAAjckq82fYt/nSdYgKJF9r+ysG4iQgV8YdZcjgCqIPH3kA9eX uaUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=eIqydVcVLMU5BpIbWI8wjaJY3SFe4LiYA2sKx8X9FGw=; b=WGg4pP+fcb6REJCk3r6XRmDpFmXNL98De4mcmCDc15XuDbyLqWKB4qLCl+UTcw6SZ5 AYht92BC1yJoo7Rf8UgcNXhrvsAQXhNKcczAA9QiKOPit+m0mfBgXLNXdFT84tXWd5sP 4pSrAVuUg16JKA65O/Yt9lAH2NyiOGP0vL+srWmwY5Z4RPQ97FG8pyWjk56GztN4I8qs irakmruJSPuQbFCuxfAOio5rf3vz/RZ4wn3+hu++ALi6I4bj8otPArrIsf/p2nHFwuKf QWAF/ujyWxfChIRqCh4YGCOCy4snmXh7maP9CSc1Qy7vHozj7LqgEi55GbfGS+INF0Hp bWQw== X-Gm-Message-State: ALyK8tJ60puFWCJI7YezsW1S9I7U0Q0kNHFCJxjLDZ2YQCn4L45PXfuS17lP+yoGtE0gp1rqFcoz6DhkGApyMw== X-Received: by 10.200.49.248 with SMTP id i53mr2060192qte.49.1467122422243; Tue, 28 Jun 2016 07:00:22 -0700 (PDT) In-Reply-To: <37b46ad8-8318-4d67-a65c-7dd7a50a3848@googlegroups.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.22 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: X-Mailman-Original-References: <37b46ad8-8318-4d67-a65c-7dd7a50a3848@googlegroups.com> Xref: csiph.com comp.lang.python:110700 On Tue, Jun 28, 2016 at 9:51 AM Heli wrote: > Is even reading the file in to numpy array the best method or there are > better approaches? > What are you trying to accomplish? Summary statistics, data transformation, analysis...?