Skip to content

Commit

Permalink
differences for PR #2
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 24, 2024
1 parent 8b26d74 commit 36e8e20
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
1 change: 1 addition & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ contact: '[email protected]'
# Order of episodes in your lesson
episodes:
- introduction.md
- working-with-diverse-filetypes.md

# Information for Learners
learners:
Expand Down
3 changes: 2 additions & 1 deletion md5sum.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
"file" "checksum" "built" "date"
"CODE_OF_CONDUCT.md" "c93c83c630db2fe2462240bf72552548" "site/built/CODE_OF_CONDUCT.md" "2022-08-05"
"LICENSE.md" "b24ebbb41b14ca25cf6b8216dda83e5f" "site/built/LICENSE.md" "2023-04-07"
"config.yaml" "dbb189d10fd0d2a60bf56c93d876ddf4" "site/built/config.yaml" "2024-10-23"
"config.yaml" "768ed118cb5276bbfceab6d6a3fd3545" "site/built/config.yaml" "2024-10-24"
"index.md" "447e37bf2e1d5254609dbb0fa9409b16" "site/built/index.md" "2024-10-24"
"links.md" "8184cf4149eafbf03ce8da8ff0778c14" "site/built/links.md" "2022-04-22"
"episodes/introduction.md" "6c55d31b41d322729fb3276f8d4371fc" "site/built/introduction.md" "2023-07-24"
"episodes/working-with-diverse-filetypes.md" "569a3ff1bf082d0409f6311d340cc418" "site/built/working-with-diverse-filetypes.md" "2024-10-24"
"instructors/instructor-notes.md" "cae72b6712578d74a49fea7513099f8c" "site/built/instructor-notes.md" "2023-03-16"
"learners/reference.md" "1c7cc4e229304d9806a13f69ca1b8ba4" "site/built/reference.md" "2023-03-16"
"learners/setup.md" "5456593e4a75491955ac4a252c05fbc9" "site/built/setup.md" "2024-01-26"
Expand Down
31 changes: 31 additions & 0 deletions working-with-diverse-filetypes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: "Handling diverse filetypes in Pandas"
teaching: 0
exercises: 0
---

:::::::::::::::::::::::::::::::::::::: questions

- How can I read in different tabular data types to a familiar format in Python?
- What are some common errors that occur when importing data, and how can I troubleshoot them?

::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::: objectives

- Import tabular data from XML, JSON, and Parquet formats to pandas dataframes using the `pandas` library
- Import a table from a SQL database using the `pandas` library
- Implement strategies to handle common errors on data import

::::::::::::::::::::::::::::::::::::::::::::::::


::::::::::::::::::::::::::::::::::::: keypoints

- `pandas` has functionality to read in many data formats (e.g., XML, JSON, SQL,
Parquet) into the same kind of DataFrame in Python. We can take advantage of this to
transform many kinds of data with similar functions in Python.
- `pandas` accepts both relative and absolute file paths on read-in.

::::::::::::::::::::::::::::::::::::::::::::::::

0 comments on commit 36e8e20

Please sign in to comment.