Re: [Distutils] File handling- tab separated files

2018-04-18 Thread Niharika Jakhar
Thanks, I'll check them out.

On Thu 19 Apr, 2018, 01:08 Wes Turner, <wes.tur...@gmail.com> wrote:

> This is the python distutils list for discussions regarding python
> packaging.
>
> For help with using the Python standard library, try the docs and/or the
> python tutor mailing list.
>
> https://www.google.com/search?q=site:docs.python.org+tsv
>
> https://www.python.org/community/lists/#tutor
> https://markmail.org/search/?q=list:org.python.tutor+tsv
>
> https://www.reddit.com/r/learnpython/
> https://www.reddit.com/r/learnpython/search?q=tsv
>
> What you describe should be possible by setting delimiter='\t' with
> csv.reader with the CSV module in the Python standard library:
>
> https://docs.python.org/3/library/csv.html#csv.reader
> https://docs.python.org/3/library/csv.html#csv.Dialect.delimiter
>
> Various third party packages are faster at reading delimited files or have
> additional useful functionality:
>
> http://docs.python-tablib.org/en/master/
>
> https://docs.scipy.org/doc/numpy/reference/generated/numpy.loadtxt.html
>
> https://docs.scipy.org/doc/numpy/reference/generated/numpy.genfromtxt.html#numpy.genfromtxt
>
> https://pandas.pydata.org/pandas-docs/stable/io.html#csv-text-files
> https://pandas.pydata.org/pandas-docs/stable/generated/pandas.read_csv.html
>
> On Wednesday, April 18, 2018, Niharika Jakhar <niharika1...@gmail.com>
> wrote:
>
>> Hello
>>
>> I am having trouble opening and reading a Tab separated file(big data). I
>> stored the data the data in a list and then used the split function (\t) to
>> tried to print a list of 0 to 100 position. But it is resulting in random
>> values from the files.
>>
>> Please let me know, if you deal with such queries, if not, can you please
>> suggest me some good source in order to solve this problem.
>>
>> Thanking you in advance
>>
>> Best regards
>> NIHARIKA
>>
>
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


[Distutils] File handling- tab separated files

2018-04-18 Thread Niharika Jakhar
Hello

I am having trouble opening and reading a Tab separated file(big data). I
stored the data the data in a list and then used the split function (\t) to
tried to print a list of 0 to 100 position. But it is resulting in random
values from the files.

Please let me know, if you deal with such queries, if not, can you please
suggest me some good source in order to solve this problem.

Thanking you in advance

Best regards
NIHARIKA
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] Pip upgrade

2018-04-13 Thread Niharika Jakhar
Thank you for your reply. I am using LINUX.

On Fri 13 Apr, 2018, 14:17 Nick Coghlan, <ncogh...@gmail.com> wrote:

> On 13 April 2018 at 21:00, Niharika Jakhar <niharika1...@gmail.com> wrote:
> > Hi
> > I am having troubles upgrading my pip.
> > terminal says:
> > You are using pip version 9.0.1, however version 9.0.3 is available.
> > You should consider upgrading via the 'pip install --upgrade pip'
> command.
>
> Which operating system are you running? `pip` self upgrades on Windows
> can be a bit odd, so "py -m pip install --upgrade pip" may work better
> there.
>
> If you're on an older version of Mac OS X, you may be affected by the
> TLS issues there, and need to follow the instructions at
>
> https://mail.python.org/pipermail/python-announce-list/2018-April/011885.html
>
> Regards,
> Nick.
>
> --
> Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
>
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


[Distutils] Pip upgrade

2018-04-13 Thread Niharika Jakhar
Hi
I am having troubles upgrading my pip.
terminal says:
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

I used the same command as mentioned but it keeps on repeating the same
lines.


python version: Python 2.7.12
pip version: pip 9.0.1

Kindly help me in this regard.

Thanking you in advance

Best Regards
NIHARIKA
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig