Skip to content

Commit db21416

Browse files
author
Quarto GHA Workflow Runner
committed
Built site for gh-pages
1 parent 30863cf commit db21416

6 files changed

Lines changed: 95 additions & 39 deletions

File tree

.nojekyll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a73f0af0
1+
19a5ccf0

about.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,17 @@
137137
<a class="nav-link" href="./index.html">
138138
<span class="menu-text">Home</span></a>
139139
</li>
140+
<li class="nav-item dropdown ">
141+
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-python-guides" role="button" data-bs-toggle="dropdown" aria-expanded="false">
142+
<span class="menu-text">Python Guides</span>
143+
</a>
144+
<ul class="dropdown-menu" aria-labelledby="nav-menu-python-guides">
145+
<li>
146+
<a class="dropdown-item" href="./dataManagement.html">
147+
<span class="dropdown-text">Data Management</span></a>
148+
</li>
149+
</ul>
150+
</li>
140151
<li class="nav-item dropdown ">
141152
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-links" role="button" data-bs-toggle="dropdown" aria-expanded="false">
142153
<span class="menu-text">Links</span>

dataManagement.html

Lines changed: 63 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,17 @@
137137
<a class="nav-link" href="./index.html">
138138
<span class="menu-text">Home</span></a>
139139
</li>
140+
<li class="nav-item dropdown ">
141+
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-python-guides" role="button" data-bs-toggle="dropdown" aria-expanded="false">
142+
<span class="menu-text">Python Guides</span>
143+
</a>
144+
<ul class="dropdown-menu" aria-labelledby="nav-menu-python-guides">
145+
<li>
146+
<a class="dropdown-item" href="./dataManagement.html">
147+
<span class="dropdown-text">Data Management</span></a>
148+
</li>
149+
</ul>
150+
</li>
140151
<li class="nav-item dropdown ">
141152
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-links" role="button" data-bs-toggle="dropdown" aria-expanded="false">
142153
<span class="menu-text">Links</span>
@@ -210,12 +221,18 @@ <h2 id="toc-title">Contents</h2>
210221

211222
<section id="importData" class="level1" data-number="1">
212223
<h1 data-number="1"><span class="header-section-number">1</span> Import Data</h1>
213-
<p>Importing data takes syntax of the following form for <code>.csv</code> files:</p>
214-
<div id="49e16f23" class="cell" data-execution_count="1">
224+
<p>Importing data using <code>pandas</code> takes syntax of the following form for <code>.csv</code> files:</p>
225+
<div id="883d4cdd" class="cell" data-execution_count="1">
215226
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> pandas <span class="im">as</span> pd</span>
216227
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a></span>
217228
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a>data <span class="op">=</span> pd.read_csv(<span class="st">"filepath/filename.csv"</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
218229
</div>
230+
<p>Below, I import a <code>.csv</code> file and save it into an object called <code>mydata</code> (you could call this object whatever you want):</p>
231+
<div id="3b81d7e8" class="cell" data-execution_count="2">
232+
<div class="sourceCode cell-code" id="cb2"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> pandas <span class="im">as</span> pd</span>
233+
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a></span>
234+
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a>data <span class="op">=</span> pd.read_csv(<span class="st">"https://osf.io/s6wrm/download"</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
235+
</div>
219236

220237

221238
<!-- -->
@@ -713,32 +730,50 @@ <h1 data-number="1"><span class="header-section-number">1</span> Import Data</h1
713730
}
714731
});
715732
</script><div class="modal fade" id="quarto-embedded-source-code-modal" tabindex="-1" aria-labelledby="quarto-embedded-source-code-modal-label" aria-hidden="true"><div class="modal-dialog modal-dialog-scrollable"><div class="modal-content"><div class="modal-header"><h5 class="modal-title" id="quarto-embedded-source-code-modal-label">Source Code</h5><button class="btn-close" data-bs-dismiss="modal"></button></div><div class="modal-body"><div class="">
716-
<div class="sourceCode" id="cb2" data-shortcodes="false"><pre class="sourceCode markdown code-with-copy"><code class="sourceCode markdown"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="co">---</span></span>
717-
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="an">title:</span><span class="co"> "Data Management"</span></span>
718-
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a><span class="an">execute:</span></span>
719-
<span id="cb2-4"><a href="#cb2-4" aria-hidden="true" tabindex="-1"></a><span class="co"> echo: true</span></span>
720-
<span id="cb2-5"><a href="#cb2-5" aria-hidden="true" tabindex="-1"></a><span class="co"> error: true</span></span>
721-
<span id="cb2-6"><a href="#cb2-6" aria-hidden="true" tabindex="-1"></a><span class="co"> code-fold: true</span></span>
722-
<span id="cb2-7"><a href="#cb2-7" aria-hidden="true" tabindex="-1"></a><span class="an">jupyter:</span><span class="co"> python3</span></span>
723-
<span id="cb2-8"><a href="#cb2-8" aria-hidden="true" tabindex="-1"></a><span class="an">format:</span></span>
724-
<span id="cb2-9"><a href="#cb2-9" aria-hidden="true" tabindex="-1"></a><span class="co"> html:</span></span>
725-
<span id="cb2-10"><a href="#cb2-10" aria-hidden="true" tabindex="-1"></a><span class="co"> code-fold: false</span></span>
726-
<span id="cb2-11"><a href="#cb2-11" aria-hidden="true" tabindex="-1"></a><span class="co"> code-tools:</span></span>
727-
<span id="cb2-12"><a href="#cb2-12" aria-hidden="true" tabindex="-1"></a><span class="co"> source: true</span></span>
728-
<span id="cb2-13"><a href="#cb2-13" aria-hidden="true" tabindex="-1"></a><span class="co"> toggle: true</span></span>
729-
<span id="cb2-14"><a href="#cb2-14" aria-hidden="true" tabindex="-1"></a><span class="co">---</span></span>
730-
<span id="cb2-15"><a href="#cb2-15" aria-hidden="true" tabindex="-1"></a></span>
731-
<span id="cb2-16"><a href="#cb2-16" aria-hidden="true" tabindex="-1"></a><span class="fu"># Import Data {#importData}</span></span>
732-
<span id="cb2-17"><a href="#cb2-17" aria-hidden="true" tabindex="-1"></a></span>
733-
<span id="cb2-18"><a href="#cb2-18" aria-hidden="true" tabindex="-1"></a>Importing data takes syntax of the following form for <span class="in">`.csv`</span> files:</span>
734-
<span id="cb2-19"><a href="#cb2-19" aria-hidden="true" tabindex="-1"></a></span>
735-
<span id="cb2-22"><a href="#cb2-22" aria-hidden="true" tabindex="-1"></a><span class="in">```{python}</span></span>
736-
<span id="cb2-23"><a href="#cb2-23" aria-hidden="true" tabindex="-1"></a><span class="co">#| eval: false</span></span>
737-
<span id="cb2-24"><a href="#cb2-24" aria-hidden="true" tabindex="-1"></a></span>
738-
<span id="cb2-25"><a href="#cb2-25" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> pandas <span class="im">as</span> pd</span>
739-
<span id="cb2-26"><a href="#cb2-26" aria-hidden="true" tabindex="-1"></a></span>
740-
<span id="cb2-27"><a href="#cb2-27" aria-hidden="true" tabindex="-1"></a>data <span class="op">=</span> pd.read_csv(<span class="st">"filepath/filename.csv"</span>)</span>
741-
<span id="cb2-28"><a href="#cb2-28" aria-hidden="true" tabindex="-1"></a><span class="in">```</span></span>
733+
<div class="sourceCode" id="cb3" data-shortcodes="false"><pre class="sourceCode markdown code-with-copy"><code class="sourceCode markdown"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="co">---</span></span>
734+
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a><span class="an">title:</span><span class="co"> "Data Management"</span></span>
735+
<span id="cb3-3"><a href="#cb3-3" aria-hidden="true" tabindex="-1"></a><span class="an">execute:</span></span>
736+
<span id="cb3-4"><a href="#cb3-4" aria-hidden="true" tabindex="-1"></a><span class="co"> echo: true</span></span>
737+
<span id="cb3-5"><a href="#cb3-5" aria-hidden="true" tabindex="-1"></a><span class="co"> error: true</span></span>
738+
<span id="cb3-6"><a href="#cb3-6" aria-hidden="true" tabindex="-1"></a><span class="co"> code-fold: true</span></span>
739+
<span id="cb3-7"><a href="#cb3-7" aria-hidden="true" tabindex="-1"></a><span class="an">jupyter:</span><span class="co"> python3</span></span>
740+
<span id="cb3-8"><a href="#cb3-8" aria-hidden="true" tabindex="-1"></a><span class="an">format:</span></span>
741+
<span id="cb3-9"><a href="#cb3-9" aria-hidden="true" tabindex="-1"></a><span class="co"> html:</span></span>
742+
<span id="cb3-10"><a href="#cb3-10" aria-hidden="true" tabindex="-1"></a><span class="co"> code-fold: false</span></span>
743+
<span id="cb3-11"><a href="#cb3-11" aria-hidden="true" tabindex="-1"></a><span class="co"> code-tools:</span></span>
744+
<span id="cb3-12"><a href="#cb3-12" aria-hidden="true" tabindex="-1"></a><span class="co"> source: true</span></span>
745+
<span id="cb3-13"><a href="#cb3-13" aria-hidden="true" tabindex="-1"></a><span class="co"> toggle: true</span></span>
746+
<span id="cb3-14"><a href="#cb3-14" aria-hidden="true" tabindex="-1"></a><span class="co">---</span></span>
747+
<span id="cb3-15"><a href="#cb3-15" aria-hidden="true" tabindex="-1"></a></span>
748+
<span id="cb3-16"><a href="#cb3-16" aria-hidden="true" tabindex="-1"></a><span class="fu"># Import Data {#importData}</span></span>
749+
<span id="cb3-17"><a href="#cb3-17" aria-hidden="true" tabindex="-1"></a></span>
750+
<span id="cb3-18"><a href="#cb3-18" aria-hidden="true" tabindex="-1"></a>Importing data using <span class="in">`pandas`</span> takes syntax of the following form for <span class="in">`.csv`</span> files:</span>
751+
<span id="cb3-19"><a href="#cb3-19" aria-hidden="true" tabindex="-1"></a></span>
752+
<span id="cb3-22"><a href="#cb3-22" aria-hidden="true" tabindex="-1"></a><span class="in">```{python}</span></span>
753+
<span id="cb3-23"><a href="#cb3-23" aria-hidden="true" tabindex="-1"></a><span class="co">#| eval: false</span></span>
754+
<span id="cb3-24"><a href="#cb3-24" aria-hidden="true" tabindex="-1"></a></span>
755+
<span id="cb3-25"><a href="#cb3-25" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> pandas <span class="im">as</span> pd</span>
756+
<span id="cb3-26"><a href="#cb3-26" aria-hidden="true" tabindex="-1"></a></span>
757+
<span id="cb3-27"><a href="#cb3-27" aria-hidden="true" tabindex="-1"></a>data <span class="op">=</span> pd.read_csv(<span class="st">"filepath/filename.csv"</span>)</span>
758+
<span id="cb3-28"><a href="#cb3-28" aria-hidden="true" tabindex="-1"></a><span class="in">```</span></span>
759+
<span id="cb3-29"><a href="#cb3-29" aria-hidden="true" tabindex="-1"></a></span>
760+
<span id="cb3-30"><a href="#cb3-30" aria-hidden="true" tabindex="-1"></a>Below, I import a <span class="in">`.csv`</span> file and save it into an object called <span class="in">`mydata`</span> (you could call this object whatever you want):</span>
761+
<span id="cb3-31"><a href="#cb3-31" aria-hidden="true" tabindex="-1"></a></span>
762+
<span id="cb3-34"><a href="#cb3-34" aria-hidden="true" tabindex="-1"></a><span class="in">```{python}</span></span>
763+
<span id="cb3-35"><a href="#cb3-35" aria-hidden="true" tabindex="-1"></a><span class="co">#| eval: false</span></span>
764+
<span id="cb3-36"><a href="#cb3-36" aria-hidden="true" tabindex="-1"></a></span>
765+
<span id="cb3-37"><a href="#cb3-37" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> pandas <span class="im">as</span> pd</span>
766+
<span id="cb3-38"><a href="#cb3-38" aria-hidden="true" tabindex="-1"></a></span>
767+
<span id="cb3-39"><a href="#cb3-39" aria-hidden="true" tabindex="-1"></a>data <span class="op">=</span> pd.read_csv(<span class="st">"https://osf.io/s6wrm/download"</span>)</span>
768+
<span id="cb3-40"><a href="#cb3-40" aria-hidden="true" tabindex="-1"></a><span class="in">```</span></span>
769+
<span id="cb3-41"><a href="#cb3-41" aria-hidden="true" tabindex="-1"></a></span>
770+
<span id="cb3-44"><a href="#cb3-44" aria-hidden="true" tabindex="-1"></a><span class="in">```{python}</span></span>
771+
<span id="cb3-45"><a href="#cb3-45" aria-hidden="true" tabindex="-1"></a><span class="co">#| include: false</span></span>
772+
<span id="cb3-46"><a href="#cb3-46" aria-hidden="true" tabindex="-1"></a></span>
773+
<span id="cb3-47"><a href="#cb3-47" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> pandas <span class="im">as</span> pd</span>
774+
<span id="cb3-48"><a href="#cb3-48" aria-hidden="true" tabindex="-1"></a></span>
775+
<span id="cb3-49"><a href="#cb3-49" aria-hidden="true" tabindex="-1"></a>data <span class="op">=</span> pd.read_csv(<span class="st">"data/titanic.csv"</span>) <span class="co">#https://osf.io/s6wrm/download</span></span>
776+
<span id="cb3-50"><a href="#cb3-50" aria-hidden="true" tabindex="-1"></a><span class="in">```</span></span>
742777
</code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
743778
</div></div></div></div></div>
744779
</div> <!-- /content -->

index.html

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,17 @@
137137
<a class="nav-link active" href="./index.html" aria-current="page">
138138
<span class="menu-text">Home</span></a>
139139
</li>
140+
<li class="nav-item dropdown ">
141+
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-python-guides" role="button" data-bs-toggle="dropdown" aria-expanded="false">
142+
<span class="menu-text">Python Guides</span>
143+
</a>
144+
<ul class="dropdown-menu" aria-labelledby="nav-menu-python-guides">
145+
<li>
146+
<a class="dropdown-item" href="./dataManagement.html">
147+
<span class="dropdown-text">Data Management</span></a>
148+
</li>
149+
</ul>
150+
</li>
140151
<li class="nav-item dropdown ">
141152
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-links" role="button" data-bs-toggle="dropdown" aria-expanded="false">
142153
<span class="menu-text">Links</span>
@@ -202,8 +213,9 @@
202213
</header>
203214

204215

205-
<p>This is a Quarto website.</p>
206-
<p>To learn more about Quarto websites visit <a href="https://quarto.org/docs/websites" class="uri">https://quarto.org/docs/websites</a>.</p>
216+
<ul>
217+
<li><a href="dataManagement.html">Data Management</a></li>
218+
</ul>
207219

208220

209221
<!-- -->
@@ -704,9 +716,7 @@
704716
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a><span class="an">title:</span><span class="co"> "Website"</span></span>
705717
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a><span class="co">---</span></span>
706718
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a></span>
707-
<span id="cb1-5"><a href="#cb1-5" aria-hidden="true" tabindex="-1"></a>This is a Quarto website.</span>
708-
<span id="cb1-6"><a href="#cb1-6" aria-hidden="true" tabindex="-1"></a></span>
709-
<span id="cb1-7"><a href="#cb1-7" aria-hidden="true" tabindex="-1"></a>To learn more about Quarto websites visit <span class="ot">&lt;https://quarto.org/docs/websites&gt;</span>.</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
719+
<span id="cb1-5"><a href="#cb1-5" aria-hidden="true" tabindex="-1"></a><span class="ss">- </span><span class="co">[</span><span class="ot">Data Management</span><span class="co">](dataManagement.html)</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
710720
</div></div></div></div></div>
711721
</div> <!-- /content -->
712722

search.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
"href": "index.html",
1212
"title": "Website",
1313
"section": "",
14-
"text": "This is a Quarto website.\nTo learn more about Quarto websites visit https://quarto.org/docs/websites."
14+
"text": "Data Management"
1515
},
1616
{
1717
"objectID": "dataManagement.html",
1818
"href": "dataManagement.html",
1919
"title": "Data Management",
2020
"section": "",
21-
"text": "1 Import Data\nImporting data takes syntax of the following form for .csv files:\n\nimport pandas as pd\n\ndata = pd.read_csv(\"filepath/filename.csv\")"
21+
"text": "1 Import Data\nImporting data using pandas takes syntax of the following form for .csv files:\n\nimport pandas as pd\n\ndata = pd.read_csv(\"filepath/filename.csv\")\n\nBelow, I import a .csv file and save it into an object called mydata (you could call this object whatever you want):\n\nimport pandas as pd\n\ndata = pd.read_csv(\"https://osf.io/s6wrm/download\")"
2222
}
2323
]

sitemap.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://DevPsyLab.github.io/pythonDataAnalysisGuides/about.html</loc>
5-
<lastmod>2024-04-14T19:07:52.672Z</lastmod>
5+
<lastmod>2024-04-14T19:12:33.345Z</lastmod>
66
</url>
77
<url>
88
<loc>https://DevPsyLab.github.io/pythonDataAnalysisGuides/index.html</loc>
9-
<lastmod>2024-04-14T19:07:52.684Z</lastmod>
9+
<lastmod>2024-04-14T19:12:33.361Z</lastmod>
1010
</url>
1111
<url>
1212
<loc>https://DevPsyLab.github.io/pythonDataAnalysisGuides/dataManagement.html</loc>
13-
<lastmod>2024-04-14T19:07:52.672Z</lastmod>
13+
<lastmod>2024-04-14T19:12:33.345Z</lastmod>
1414
</url>
1515
</urlset>

0 commit comments

Comments
 (0)