Skip to content

Replace data with df in the pandas chapter #50

Closed

Description

@Scottan

Replace the use of "data" with "df" to denote a DataFrame in the pandas section of the course, e.g. replace:

https://github.com/UoMResearchIT/programming_with_python/blob/main/episodes/07-pandas_essential.md#:~:text=data%20%3D%20pd.read_csv(%27data/gapminder_gdp_europe.csv%27%2Cindex_col%3D%27country%27)

with:

> df = pd.read_csv('data/gapminder_gdp_europe.csv',index_col='country')

"df" is the convention for a generic DataFrame, whereas the format of "data" is ambiguous.

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