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


Groups > comp.lang.python > #110700

Re: fastest way to read a text file in to a numpy array

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From Michael Selik <michael.selik@gmail.com>
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 <mailman.81.1467122425.2358.python-list@python.org> (permalink)
References <37b46ad8-8318-4d67-a65c-7dd7a50a3848@googlegroups.com> <CAGgTfkOJC3Ws6aQtVq=e2g7rb8xqChMieJ9Sok93A65bL2dMNg@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de wPJtTT9AbsKBVlPcnS5vVAOr+WUob+HJYA0b6DCIjn6Q==
Return-Path <michael.selik@gmail.com>
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&gt;': 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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <CAGgTfkOJC3Ws6aQtVq=e2g7rb8xqChMieJ9Sok93A65bL2dMNg@mail.gmail.com>
X-Mailman-Original-References <37b46ad8-8318-4d67-a65c-7dd7a50a3848@googlegroups.com>
Xref csiph.com comp.lang.python:110700

Show key headers only | View raw


On Tue, Jun 28, 2016 at 9:51 AM Heli <hemla21@gmail.com> 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...?

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

fastest way to read a text file in to a numpy array Heli <hemla21@gmail.com> - 2016-06-28 06:45 -0700
  Re: fastest way to read a text file in to a numpy array Michael Selik <michael.selik@gmail.com> - 2016-06-28 14:00 +0000
  Re: fastest way to read a text file in to a numpy array Michael Selik <michael.selik@gmail.com> - 2016-06-28 14:29 +0000
  Re: fastest way to read a text file in to a numpy array Cody Piersall <cody.piersall@gmail.com> - 2016-06-28 09:37 -0500
    Re: fastest way to read a text file in to a numpy array Heli <hemla21@gmail.com> - 2016-06-30 08:49 -0700
      Re: fastest way to read a text file in to a numpy array Christian Gollwitzer <auriocus@gmx.de> - 2016-06-30 23:02 +0200

csiph-web