carpentries-incubator / python-business Goto Github PK
View Code? Open in Web Editor NEWPython for Business
Home Page: https://carpentries-incubator.github.io/python-business/
License: Other
Python for Business
Home Page: https://carpentries-incubator.github.io/python-business/
License: Other
Lesson 5: working with tabular data (another name to distinguish from lesson 3)
Merge soda and inv tables, call it inv_soda.
Not all kinds of soda will appear in the invoice (as some were never sold). If we want to keep everything in the soda dataframe, what kind of join should we use?
current answer:
inv_soda = inv.merge(soda, how="left", right_on="Item_id", left_on="Item_id")
Left join will leave you all invoices. Still won't have records about the soda never sold. Should be outer join.
inv_soda = inv.merge(soda, how="outer", right_on="Item_id", left_on="Item_id")
Lesson 3: Working with Tabular data
soda[soda["Bottle_Cost"]<= 3]["Item_Description"]
Because we have set "Item_Description" as the index before, this line won't work.
Hi,
Reviewing this lesson - great content! I've got a question on the formatting of equations: github pages doesn't render MathJax (unlike notebooks), so the lessons' equations are all raw
Is it worth keeping simple math (e.g. formula references) in plaintext?
I'll post a PR for one lesson to demo.
Thanks!
There should be support for an optional(?) module using Fisher's exact test when introducing statistics to students who don't have a strong stats background.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.