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


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

problem in python pandas module

Started bylength power <elearn2014@gmail.com>
First post2014-04-10 13:03 +0800
Last post2014-04-10 13:03 +0800
Articles 1 — 1 participant

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


Contents

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

#70016 — problem in python pandas module

Fromlength power <elearn2014@gmail.com>
Date2014-04-10 13:03 +0800
Subjectproblem in python pandas module
Message-ID<mailman.9118.1397112367.18130.python-list@python.org>

[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?

[toc] | [standalone]


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


csiph-web