Skip to content

Add your favorite Python pandas recipe to the repo.  #13

@kennethcassel

Description

@kennethcassel

Got a favorite python pandas recipe?

Some ideas:

  • How to merge data in a dataframe
  • How to load data from a SQL db
  • Various approaches on cleaning messy data.

How to add a new recipe:

  • Clone the repo. Make a new branch. For example: git checkout -b load-data-from-sql
  • Create a new .mdx file under the /docs/{topic} folder. If you were making the SQL example, you could put the file under /docs/sql/load-data-from-sql.mdx
  • Add this new file to the sidebar.yml file. The sidebar.yml file will add the link to the sidebar so your example is discoverable.
  • Write some comments! Check out the other examples on the site. We're trying to provide context for the examples so they are easy to understand
  • Add your python pandas code snippet. Please make sure your code runs as expected on your machine. the use pandas website doesn't run any pandas code so we don't have a way of automatically verifying the snippets work :)
  • push your changes to the repo and submit a PR!

🎉

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions