<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments for scienceoss.com</title>
	<atom:link href="http://scienceoss.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://scienceoss.com</link>
	<description>useful tidbits for using open source software in science</description>
	<pubDate>Thu, 21 Aug 2008 12:13:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>Comment on Read Excel files from Python by Bill</title>
		<link>http://scienceoss.com/read-excel-files-from-python/#comment-171</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Wed, 06 Aug 2008 15:44:10 +0000</pubDate>
		<guid isPermaLink="false">http://scienceoss.com/read-excel-files-from-python/#comment-171</guid>
		<description>Is there a way to read cells in their display format as opposed to their native formats? For example, get the cell content as "$66,777.31" if the value 66777.31 is formatted as currency.</description>
		<content:encoded><![CDATA[<p>Is there a way to read cells in their display format as opposed to their native formats? For example, get the cell content as &#8220;$66,777.31&#8243; if the value 66777.31 is formatted as currency.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Test the speed of your code interactively in IPython by xenocoder</title>
		<link>http://scienceoss.com/test-the-speed-of-your-code-interactively-in-ipython/#comment-148</link>
		<dc:creator>xenocoder</dc:creator>
		<pubDate>Fri, 25 Jul 2008 19:03:26 +0000</pubDate>
		<guid isPermaLink="false">http://scienceoss.com/test-the-speed-of-your-code-interactively-in-ipython/#comment-148</guid>
		<description>Excellent tutorial! Now I see where the timeit function came from in that example that you used. Really clever and I am sure that this will be helpful in the future!</description>
		<content:encoded><![CDATA[<p>Excellent tutorial! Now I see where the timeit function came from in that example that you used. Really clever and I am sure that this will be helpful in the future!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Read Excel files from Python by ryan</title>
		<link>http://scienceoss.com/read-excel-files-from-python/#comment-137</link>
		<dc:creator>ryan</dc:creator>
		<pubDate>Sun, 20 Jul 2008 13:44:16 +0000</pubDate>
		<guid isPermaLink="false">http://scienceoss.com/read-excel-files-from-python/#comment-137</guid>
		<description>John, thanks for xlrd, it's fantastic.

I made the edits you suggested.  

Just checking: is it correct that there is no [supported] way to add content to an existing Excel sheet using xlrd?

-ryan</description>
		<content:encoded><![CDATA[<p>John, thanks for xlrd, it&#8217;s fantastic.</p>
<p>I made the edits you suggested.  </p>
<p>Just checking: is it correct that there is no [supported] way to add content to an existing Excel sheet using xlrd?</p>
<p>-ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Read Excel files from Python by John Machin</title>
		<link>http://scienceoss.com/read-excel-files-from-python/#comment-136</link>
		<dc:creator>John Machin</dc:creator>
		<pubDate>Sun, 20 Jul 2008 06:08:55 +0000</pubDate>
		<guid isPermaLink="false">http://scienceoss.com/read-excel-files-from-python/#comment-136</guid>
		<description>Hi, Ryan, I'm the author/maintainer of xlrd. Thanks for the advertisement!

One point though, relating to this line in your posting:

sh.put_cell(row, col, ctype, value, xf)

Sheet.put_cell is only for internal use building the sheet contents, it is intentionally not documented and is definitely *not* supported.

Bonus extra point:
cell_C4 = sh.cell(2,3).value
should be
cell_C4 = sh.cell(3, 2).value
or (better)
cell_C4 = sh.cell(rowx=3, colx=2).value

Cheers,
John</description>
		<content:encoded><![CDATA[<p>Hi, Ryan, I&#8217;m the author/maintainer of xlrd. Thanks for the advertisement!</p>
<p>One point though, relating to this line in your posting:</p>
<p>sh.put_cell(row, col, ctype, value, xf)</p>
<p>Sheet.put_cell is only for internal use building the sheet contents, it is intentionally not documented and is definitely *not* supported.</p>
<p>Bonus extra point:<br />
cell_C4 = sh.cell(2,3).value<br />
should be<br />
cell_C4 = sh.cell(3, 2).value<br />
or (better)<br />
cell_C4 = sh.cell(rowx=3, colx=2).value</p>
<p>Cheers,<br />
John</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reorder factors for ggplot by hadley</title>
		<link>http://scienceoss.com/reorder-factors-for-ggplot/#comment-122</link>
		<dc:creator>hadley</dc:creator>
		<pubDate>Sun, 18 May 2008 21:43:09 +0000</pubDate>
		<guid isPermaLink="false">http://scienceoss.com/reorder-factors-for-ggplot/#comment-122</guid>
		<description>I hope that in a future version you'll be able to do 

ggplot(iris)+aes(x=Sepal.Width)+geom_histogram()+facet_grid(reorder(Species, Sepal.Width) ~.)

directly.</description>
		<content:encoded><![CDATA[<p>I hope that in a future version you&#8217;ll be able to do </p>
<p>ggplot(iris)+aes(x=Sepal.Width)+geom_histogram()+facet_grid(reorder(Species, Sepal.Width) ~.)</p>
<p>directly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calculate sunrise and sunset with PyEphem by ryan</title>
		<link>http://scienceoss.com/calculate-sunrise-and-sunset-with-pyephem/#comment-47</link>
		<dc:creator>ryan</dc:creator>
		<pubDate>Sun, 27 Apr 2008 19:16:49 +0000</pubDate>
		<guid isPermaLink="false">http://scienceoss.com/?p=121#comment-47</guid>
		<description>Xaviar:
Good call.  After updating my PyEphem version to the most recent one, I got a warning that the rise_time and set_time attributes are now deprecated, and next_rising and next_setting should be used instead.  I've updated the post to reflect that change, just like you've shown.</description>
		<content:encoded><![CDATA[<p>Xaviar:<br />
Good call.  After updating my PyEphem version to the most recent one, I got a warning that the rise_time and set_time attributes are now deprecated, and next_rising and next_setting should be used instead.  I&#8217;ve updated the post to reflect that change, just like you&#8217;ve shown.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calculate sunrise and sunset with PyEphem by Xaviar</title>
		<link>http://scienceoss.com/calculate-sunrise-and-sunset-with-pyephem/#comment-46</link>
		<dc:creator>Xaviar</dc:creator>
		<pubDate>Sun, 27 Apr 2008 18:45:35 +0000</pubDate>
		<guid isPermaLink="false">http://scienceoss.com/?p=121#comment-46</guid>
		<description>Thanks for posting this. I needed something similar to this exact information. You could have used the next feature to step through the dates though. for example:

import ephem
import datetime

obs = ephem.Observer()
obs.lat = '38.8'
obs.long='-75.2'

start_date = datetime.datetime(2008,1,1)
end_date = datetime.datetime(2008, 12, 31)
length = (end_date - start_date).days
rise_times = []
set_times = []
count = 0  
while count &#60; length:
    rise_times.append(obs.next_rising(ephem.Sun()))
    set_times.append(obs.next_setting(ephem.Sun()))
    count += 1</description>
		<content:encoded><![CDATA[<p>Thanks for posting this. I needed something similar to this exact information. You could have used the next feature to step through the dates though. for example:</p>
<p>import ephem<br />
import datetime</p>
<p>obs = ephem.Observer()<br />
obs.lat = &#8216;38.8&#8242;<br />
obs.long=&#8217;-75.2&#8242;</p>
<p>start_date = datetime.datetime(2008,1,1)<br />
end_date = datetime.datetime(2008, 12, 31)<br />
length = (end_date - start_date).days<br />
rise_times = []<br />
set_times = []<br />
count = 0<br />
while count &lt; length:<br />
    rise_times.append(obs.next_rising(ephem.Sun()))<br />
    set_times.append(obs.next_setting(ephem.Sun()))<br />
    count += 1</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Read Excel files from Python by ryan</title>
		<link>http://scienceoss.com/read-excel-files-from-python/#comment-41</link>
		<dc:creator>ryan</dc:creator>
		<pubDate>Fri, 25 Apr 2008 17:19:47 +0000</pubDate>
		<guid isPermaLink="false">http://scienceoss.com/read-excel-files-from-python/#comment-41</guid>
		<description>@Attila Bleier:
Nice catch, thanks.  It's fixed now.</description>
		<content:encoded><![CDATA[<p>@Attila Bleier:<br />
Nice catch, thanks.  It&#8217;s fixed now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Read Excel files from Python by Attila Bleier</title>
		<link>http://scienceoss.com/read-excel-files-from-python/#comment-40</link>
		<dc:creator>Attila Bleier</dc:creator>
		<pubDate>Fri, 25 Apr 2008 15:56:45 +0000</pubDate>
		<guid isPermaLink="false">http://scienceoss.com/read-excel-files-from-python/#comment-40</guid>
		<description>Please note that the example above has a typo. The 2nd line should be: wb=xlrd.open_workbook('myworkbook.xls'), because of the namespace.

excellent post, thanks.</description>
		<content:encoded><![CDATA[<p>Please note that the example above has a typo. The 2nd line should be: wb=xlrd.open_workbook(&#8217;myworkbook.xls&#8217;), because of the namespace.</p>
<p>excellent post, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sort one list by another list by ryan</title>
		<link>http://scienceoss.com/sort-one-list-by-another-list/#comment-34</link>
		<dc:creator>ryan</dc:creator>
		<pubDate>Mon, 14 Apr 2008 20:22:03 +0000</pubDate>
		<guid isPermaLink="false">http://scienceoss.com/sort-one-list-by-another-list/#comment-34</guid>
		<description>Inspired by Andrew I learned some more about using a key function to sort by. My notes are here: http://scienceoss.com/advanced-sorting-sorting-by-key/</description>
		<content:encoded><![CDATA[<p>Inspired by Andrew I learned some more about using a key function to sort by. My notes are here: <a href="http://scienceoss.com/advanced-sorting-sorting-by-key/" rel="nofollow">http://scienceoss.com/advanced-sorting-sorting-by-key/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
