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


Groups > comp.lang.python > #70016

problem in python pandas module

Date 2014-04-10 13:03 +0800
Subject problem in python pandas module
From length power <elearn2014@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.9118.1397112367.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

the problem about pandas


the data is in the attachment,please download it and save as "test.ansi"

import pandas as pd
pd.read_csv("g:\\test.ansi",sep=",",encoding="gbk")


1.how to read data properly?
there is a balnk line by every data of row.
how can i don't read any   NaN  NaN         NaN ?

2.how to display all data in the console?
there are [301 rows x 3 columns],only 59 of them displayed,how to display
all 301 rows?

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


Thread

problem in python pandas module length power <elearn2014@gmail.com> - 2014-04-10 13:03 +0800

csiph-web