<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Panda%3A_read_CSV_datetime_index_plot</id>
	<title>Panda: read CSV datetime index plot - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Panda%3A_read_CSV_datetime_index_plot"/>
	<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Panda:_read_CSV_datetime_index_plot&amp;action=history"/>
	<updated>2026-04-28T08:11:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=Panda:_read_CSV_datetime_index_plot&amp;diff=56660&amp;oldid=prev</id>
		<title>Onnowpurbo: Created page with &quot;   import pandas as pd  import glob    csv_file = &#039;/home/onno/TensorFlow/TEMP-train.csv&#039;  df = pd.read_csv(csv_file, names=[&#039;Time&#039;, &#039;Value&#039;])  df[&#039;Time&#039;] = pd.to_datetime(df[&#039;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Panda:_read_CSV_datetime_index_plot&amp;diff=56660&amp;oldid=prev"/>
		<updated>2019-08-08T06:38:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;   import pandas as pd  import glob    csv_file = &amp;#039;/home/onno/TensorFlow/TEMP-train.csv&amp;#039;  df = pd.read_csv(csv_file, names=[&amp;#039;Time&amp;#039;, &amp;#039;Value&amp;#039;])  df[&amp;#039;Time&amp;#039;] = pd.to_datetime(df[&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
 import pandas as pd&lt;br /&gt;
 import glob&lt;br /&gt;
 &lt;br /&gt;
 csv_file = &amp;#039;/home/onno/TensorFlow/TEMP-train.csv&amp;#039;&lt;br /&gt;
 df = pd.read_csv(csv_file, names=[&amp;#039;Time&amp;#039;, &amp;#039;Value&amp;#039;])&lt;br /&gt;
 df[&amp;#039;Time&amp;#039;] = pd.to_datetime(df[&amp;#039;Time&amp;#039;], errors=&amp;#039;coerce&amp;#039;)&lt;br /&gt;
 df[&amp;#039;Value&amp;#039;] = pd.to_numeric(df[&amp;#039;Value&amp;#039;], errors=&amp;#039;coerce&amp;#039;)&lt;br /&gt;
 &lt;br /&gt;
 # print df&lt;br /&gt;
 print df.head()&lt;br /&gt;
 print df.shape&lt;br /&gt;
 print df.dtypes&lt;br /&gt;
 &lt;br /&gt;
 df = df.set_index(&amp;#039;Time&amp;#039;)&lt;br /&gt;
 df = df.resample(&amp;#039;1 Min&amp;#039;).mean()&lt;br /&gt;
 &lt;br /&gt;
 print df&lt;br /&gt;
 print df.head()&lt;br /&gt;
 &lt;br /&gt;
 import seaborn as sns&lt;br /&gt;
 sns.set()&lt;br /&gt;
 # df_plot = df_time.resample(&amp;#039;M&amp;#039;).mean()&lt;br /&gt;
 df_plot = df&lt;br /&gt;
 plt.plot(df_plot)&lt;br /&gt;
 plt.title(&amp;#039;Suhu&amp;#039;)&lt;br /&gt;
 plt.ylabel(&amp;#039;Suhu (Celcius)&amp;#039;)&lt;br /&gt;
 plt.xticks(rotation=45)&lt;br /&gt;
 plt.show()&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>