JuliaAcademy / JuliaAcademy/DataScience

Julia's built-in `?[method]` syntax not working in-line in Jupyter Notebook

Open
#60 0 comments 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

Overview

There has been a persistent issue with the ? shortcut function in the Jupyter Notebook's Julia environment; it is unclear why it does not always work for every method in the Julia REPL either.

Example:
Jupyter Notebook Inline:

?randsubseq in Notebook code block returns ParseError: \ # Error @ /users/...

Julia REPL:
search: issubset transpose

Couldn't find randsubseq
Perhaps you meant transpose
  No documentation found.

  Binding randsubseq does not exist.```
However, I believe this could be due to the missing package, which contains the randsubseq method in the REPL package manager. 

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

Start by reproducing ?randsubseq in a Jupyter Notebook code block and in the Julia REPL, then check whether the package containing randsubseq is installed. Done means the help shortcut works for the method, or the required package and limitation are clearly identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, jupyter-notebook
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.