Follow me
-
Recent Posts
calendar
Recent Comments
- Stan on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- Cormac on Pandas : how to compare dataframe with None
- LP on AWK: the substr command to select a substring
- jrab on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- How to disable SSL verification for urlretrieve? – Peter's blog on python: certificate verified failed
Archives
Categories
Meta
Monthly Archives: May 2014
Open VID file in VirtualBox
I’ve been using VirtualBox for a few years mostly to test software on different distributions. This is really a great tool really easy to use. I usually get an ISO file from a distribution (e.g. Fedora) and install it within … Continue reading
matplotlib: difference between pcolor, pcolormesh and imshow
If you have a matrix and want to plot its content as an image, matplotlib provides some functions such as imshow and pcolor. c Differences between imshow and pcolor Let us use a simple 3 by 3 matrix and call … Continue reading
Python editor
The general purpose tool I used for edition is vim… I know, this is not very friendly but to edit a couple of files, it’s fast to start, fast to edit, has completion and much more. Yet, sometimes, a dedicated … Continue reading
Accessing UniProt with Python
BioServices provide an easy way to access UniProt In a previous post, I provided a simple example, reproduced here below, but in this post I also provide the link to a ipython notebook I’ve just created, which contains much more … Continue reading
pandas.read_csv: how to skip empty lines
Let us suppose that we start with a CSV file that has empty rows: A, B, C 1, 2, 3A, B, C 1, 2, 3 If you read this file with Pandas library, and look at the content of … Continue reading