Re: pandas outside of data science (exhibit)

"Wickes, Elizabeth" <[email protected]> Wed, 21 Jun 2023 17:53:11 +0000
Newsgroups gmane.comp.python.education
Message-ID <DM6PR11MB2634994CEDFB03AD674F1A518A5DA@DM6PR11MB2634.namprd11.prod.outlook.com>
--===============2083269010979246918==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_DM6PR11MB2634994CEDFB03AD674F1A518A5DADM6PR11MB2634namp_"

--_000_DM6PR11MB2634994CEDFB03AD674F1A518A5DADM6PR11MB2634namp_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

I also like to showcase pandas and sql in the context of pure textual data.=
 I use a spreadsheet that=92s an archival finding aid and there=92s no actu=
al numerical data in it, but the aggregation and other exploratory queries =
are nice.

That said, I=92ve done the same lesson in dplyr, and as much as I hate R, I=
 keep wanting to go back to it every time I have to use pandas.

Elizabeth

From: kirby urner <[email protected]>
Date: Tuesday, June 20, 2023 at 2:03 PM
To: [email protected] <[email protected]>
Subject: [Edu-sig] pandas outside of data science (exhibit)

I just got Reuven M. Lerner's Bamboo Weekly (I'm a subscriber) which asks w=
hat I use Python for and talks (succinctly) about pandas.

This specimen is interesting I think...

https://nbviewer.org/github/4dsolutions/School_of_Tomorrow/blob/master/Sync=
hronizing_on_S.ipynb<https://urldefense.com/v3/__https:/nbviewer.org/github=
/4dsolutions/School_of_Tomorrow/blob/master/Synchronizing_on_S.ipynb__;!!DZ=
3fjg!-IuiqqSuNgRQJKOA1174EX9NGRvZBkZ_ITrF91A8m9G82d3yooix4MEWwHZIGPvqVWME_z=
yakTI-0z6zBgoeFCU$>

... because I'm using pandas for tabular data in the context of a math-geom=
etry page, nothing much to do with data science per se.

Moral:  We don't have to typecast pandas as purely for data scientists, bec=
ause every discipline, just about, has tabular data.

I also showcase using sympy in tandem with pandas.

Kirby


--_000_DM6PR11MB2634994CEDFB03AD674F1A518A5DADM6PR11MB2634namp_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/of=
fice/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:"Yu Gothic";
	panose-1:2 11 4 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"\@Yu Gothic";
	panose-1:2 11 4 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:10.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;
	mso-ligatures:none;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style>
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple" style=3D"word-wrap:brea=
k-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">I also like to show=
case pandas and sql in the context of pure textual data. I use a spreadshee=
t that=92s an archival finding aid and there=92s no actual numerical data i=
n it, but the aggregation and other exploratory
 queries are nice.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt"><o:p>&nbsp;</o:p></=
span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">That said, I=92ve d=
one the same lesson in dplyr, and as much as I hate R, I keep wanting to go=
 back to it every time I have to use pandas.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt"><o:p>&nbsp;</o:p></=
span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt">Elizabeth<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt"><o:p>&nbsp;</o:p></=
span></p>
<div id=3D"mail-editor-reference-message-container">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><b><span style=3D"fon=
t-size:12.0pt;color:black">From:
</span></b><span style=3D"font-size:12.0pt;color:black">kirby urner &lt;kir=
[email protected]&gt;<br>
<b>Date: </b>Tuesday, June 20, 2023 at 2:03 PM<br>
<b>To: </b>[email protected] &lt;[email protected]&gt;<br>
<b>Subject: </b>[Edu-sig] pandas outside of data science (exhibit)<o:p></o:=
p></span></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif">I just got Reuven M. Lerner's Bamboo Weekly (I'm a =
subscriber) which asks what I use Python for and talks (succinctly) about p=
andas.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif">This specimen is interesting I think...<o:p></o:p><=
/span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif"><a href=3D"https://urldefense.com/v3/__https:/nbvie=
wer.org/github/4dsolutions/School_of_Tomorrow/blob/master/Synchronizing_on_=
S.ipynb__;!!DZ3fjg!-IuiqqSuNgRQJKOA1174EX9NGRvZBkZ_ITrF91A8m9G82d3yooix4MEW=
wHZIGPvqVWME_zyakTI-0z6zBgoeFCU$">https://nbviewer.org/github/4dsolutions/S=
chool_of_Tomorrow/blob/master/Synchronizing_on_S.ipynb</a><o:p></o:p></span=
></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif">... because I'm using pandas for tabular data in th=
e context of a math-geometry page, nothing much to do with data science per=
 se.&nbsp;
<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif">Moral:&nbsp; We don't have to typecast pandas as pu=
rely for data scientists, because every discipline, just about, has tabular=
 data.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif">I also showcase using sympy in tandem with pandas.
<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif">Kirby<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ve=
rdana&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

--_000_DM6PR11MB2634994CEDFB03AD674F1A518A5DADM6PR11MB2634namp_--

--===============2083269010979246918==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Edu-sig mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/edu-sig.python.org/
Member address: [email protected]

--===============2083269010979246918==--