JuliaAcademy / JuliaAcademy/DataScience

MethodError from XLSX.readtable() in 01.Data Notebook

Open
#48 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
533
Forks
266
PR merge metrics
No merged PRs in 30d

Description

Indexing the output of XLSX.readtable() in the "01. Data.ipynb" results in a MethodError.
According to the Docs of XLSX, the output has been converted to a class instead of a tuple.
Hence, the indexing in the following cells does not work.
As a fix, I would store it directly inside the DataFrame.

However, since I have only installed Julia for one hour, I do not feel comfortable to rewrite the introduction :)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open 01. Data.ipynb and reproduce the MethodError by running the cells that index the output of XLSX.readtable(). Update the affected notebook cells so the result is stored directly in the DataFrame, then rerun the notebook and confirm the introductory workflow completes without the indexing error.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, jupyter-notebook
Domain
data
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.