[FAQ]
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 90/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- jupyter, numpy, python
- Domain
- documentation
Research direction
Start by locating the FAQ content for the machine-learning-zoomcamp course and reviewing nearby entries for formatting and placement. Add this question, answer, and NumPy example, then verify the FAQ renders correctly and matches the repository’s existing structure.
Written by the indexing model from the issue text.
Description
Course
machine-learning-zoomcamp
Question
Why am I getting TypeError: 'list' object is not callable when creating a NumPy array?
Answer
This usually happens when np.array was accidentally overwritten by a list in an earlier Jupyter cell. Since the Jupyter kernel retains previous variable assignments, simply editing or deleting the problematic cell may not fix it.
The quickest solution is to restart the Jupyter kernel (Kernel → Restart), then run:
import numpy as np
y = np.array([1100, 1300, 800, 900, 1000, 1100, 1200])
After restarting, np.array() will point back to NumPy's original function.
Checklist
- I have searched existing FAQs and this question is not already answered
- The answer provides accurate, helpful information
- I have included any relevant code examples or links
- Dominant language
- Python
- Stars
- 7
- Forks
- 19
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 9
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DataTalksClub/faq
-
[FAQ] Openfaq-proposal
Difficulty 1/5 Under an hour Newbie friendliness 88/100
DataTalksClub/faq#409 · 1 comment ·
-
[FAQ] Openfaq-proposal
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
DataTalksClub/faq#407 · 2 comments ·
-
faq-proposal
Difficulty 1/5 1-3 hours Newbie friendliness 78/100
DataTalksClub/faq#405 · 1 comment ·
-
faq-proposal
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
DataTalksClub/faq#404 · 1 comment ·
-
[AI Dev Tools] Openfaq-proposal
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
DataTalksClub/faq#400 · 1 comment ·
All issues in DataTalksClub/faq
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100