Skip to content

Commit

Permalink
Update _index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pcc-git authored Jan 16, 2024
1 parent afdb7e7 commit 0900be0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/Slides/p1/d1/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ __Group 2__

{{< faq "What is method chaining?" >}}

Pandas and Altiar are built to allow for method chaining. Here is a great resource on how to use method chaining: [How to write neat pandas code](https://pandasninja.com/2019/04/how-to-write-neat-pandas-code/).
Pandas is built to allow for method chaining. Here is a great resource on how to use method chaining: [How to write neat pandas code](https://pandasninja.com/2019/04/how-to-write-neat-pandas-code/).


- Altair creates a chart object
- plotly.express creates a chart object
- pandas creates a DataFrame object
- We usually include `()` around our entire method so we can show it in steps.

Expand Down Expand Up @@ -160,7 +160,7 @@ Read in the data.
#%%
# load packages
import pandas as pd
import altair as alt
import plotly.express as px

#%%
# load data
Expand Down

0 comments on commit 0900be0

Please sign in to comment.