Skip to content

Re-record what_is_pandas: pandas 3.0 makes the 'enable modern options' framing obsolete #69

Open

Description

@hmgaudecker

The pandas/what_is_pandas screencast teaches enabling "modern pandas" via options that pandas 3.0 makes obsolete, so the recorded video needs re-recording.

What is stale

The "What is modern pandas?" and "How to use modern pandas" slides say the modern features "can already be enabled now" and show:

pd.options.mode.copy_on_write = True
pd.options.future.infer_string = True

plus "Install version 2.1 or higher of pandas". In pandas 3.0:

  • Copy-on-Write is always on; mode.copy_on_write is a deprecated no-op.
  • The default string dtype is a pyarrow-backed str type when pyarrow is installed, so future.infer_string is redundant.

So the whole framing ("opt into modern pandas early via options") no longer holds. This is more than a slide swap: the learning objectives ("configure pandas to use modern features", "explain the benefits of opting in") need rethinking around pandas 3.0 giving these as defaults.

Done in the accompanying PR

The slide source and the objectives_materials.ipynb doc block were already updated to the 3.0 reality (see #68), so a re-recording can start from correct material. pd.options.plotting.backend = "plotly" stays.

Related (only if the setup cell appears on camera)

Several pandas/metrics demo notebooks had the same two option lines in their top setup cell (now removed in #68). They need re-recording only if the presenter shows that cell:

  • pandas/functional_how
  • pandas/management_definitions_example
  • pandas/inspecting_and_summarizing
  • metrics_ml/statsmodels_intro
  • metrics_ml/statsmodels_results

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions