Skip to content

MIGRATE: pandas_panel lecture from stats#310

Merged
mmcky merged 6 commits into
mainfrom
migrate-pandas-panel
May 1, 2024
Merged

MIGRATE: pandas_panel lecture from stats#310
mmcky merged 6 commits into
mainfrom
migrate-pandas-panel

Conversation

@mmcky

@mmcky mmcky commented Apr 30, 2024

Copy link
Copy Markdown
Contributor

This PR migrates pandas_panel from lecture-stats

fixes #303

@github-actions

github-actions Bot commented Apr 30, 2024

Copy link
Copy Markdown

@github-actions github-actions Bot temporarily deployed to pull request April 30, 2024 02:44 Inactive
@mmcky

mmcky commented Apr 30, 2024

Copy link
Copy Markdown
Contributor Author

There are a few deprecation notices that should be addressed

  • fix dataframe deprecation
FutureWarning: DataFrame.groupby with axis=1 is deprecated. Do `frame.T.groupby(...)` without axis instead.
  merged.groupby(level='Continent', axis=1).mean().head()
  • fix seaborn deprecation
/home/runner/miniconda3/envs/quantecon/lib/python3.11/site-packages/seaborn/_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.

@github-actions github-actions Bot temporarily deployed to pull request April 30, 2024 23:59 Inactive

@mmcky mmcky left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jstac are you happy for this to be merged.

The main changes to the incoming lecture are captured in caaacae

@jstac

jstac commented May 1, 2024

Copy link
Copy Markdown
Contributor

Thanks @mmcky . I'm a little busy but perhaps @shlff could provide a second set of eyes?

I'll leave you to merge when ready.

@mmcky

mmcky commented May 1, 2024

Copy link
Copy Markdown
Contributor Author

Thanks @shlff the only real changes being applied are to fix deprecation notices in pandas in caaacae otherwise this is just migrating the lecture from it's old location.

@shlff

shlff commented May 1, 2024

Copy link
Copy Markdown
Member

I see. Thanks @mmcky .

I quickly went through the lecture:

  • the two depreciation notices have been fixed, and
  • all links are working well.

This lecture looks good to me so I reckon it is ready to be merged.

@mmcky

mmcky commented May 1, 2024

Copy link
Copy Markdown
Contributor Author

thanks @shlff -- greatly appreciate the second set of eyes.

@mmcky mmcky merged commit 8518c8b into main May 1, 2024
@mmcky mmcky deleted the migrate-pandas-panel branch May 1, 2024 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate pandas_panel to this lecture series

3 participants