jupyter-notebook Questions
4
im very new to sqlite, im using macbook m1, im try to use jupyter notebook to do sql
here is my code
%load_ext sql
import csv, sqlite3
con = sqlite3.connect("socioeconomic.db")
cur = co...
Balboa asked 1/4, 2023 at 21:7
4
How to import and read multiple CSV in chunks when we have multiple csv files and total size of all csv is around 20gb?
I don't want to use Spark as i want to use a model in SkLearn so I want the ...
Impedimenta asked 4/3, 2019 at 16:38
5
I recently installed Anaconda 3 and after a few minor issues I was able to run Jupyter Notebook, but syntax highlighting is not working at all. Everything else seems to be working fine.
I had Anac...
Keeper asked 1/3, 2019 at 20:58
3
I want to run a Jupyter notebook in PyCharm but on cells that are executing javascript, I get the message, that the notebook is not trusted.
When I click the "Trusted" checkbox, the arrow...
Zel asked 19/11, 2020 at 7:54
5
Intellisense and the coloring of code is no longer working in my Jupyter Notebook in VSCode. It was working perfectly fine before then I reloaded the window(like I have done before without issue) a...
Gallardo asked 2/3, 2023 at 19:4
8
First and foremost I'm using the latest of Python (==3.11.2) and the most recent version of langchain (==0.0.128).
Following the latest docs on DirectoryLoader, the following line should work:
from...
Upper asked 1/4, 2023 at 16:42
2
Solved
Short version
What is the simple and elegant way to use renv, venv and jupyterlab with IRkernel together? In particular, how to automatically activate renv from jupyter notebook that is not in the ...
Canalize asked 23/2, 2022 at 18:31
8
When making a plot, I used both Jupyter Notebook and Pycharm with the same set of code and packages. The code is:
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt # as in P...
Sidon asked 24/5, 2017 at 4:40
4
Solved
Following LangChain docs in my Jupyter notebook with the following code :
from langchain_openai import ChatOpenAI
from langchain_core.prompts import ChatPromptTemplate
from langchain_core.output_pa...
Hermetic asked 8/1 at 17:16
10
I am working on MacBook Pro 10.12.6. I downloaded the most recent Anaconda 5.2 distribution, with the Python 3.6 version.
I can launch the Jupyter Notebook from the command line without any problem...
Gingerly asked 12/9, 2018 at 17:52
9
I am running a python azure function which is running a jupyter notebook via the nbconvert API. This was working for a time, although without deploying new code I have started to get the following ...
Heathcote asked 18/9, 2020 at 15:25
3
I have conda 4.8.1 running on windows 10 enterprise edition and it is showing me following error whenever I try to install notebook.
InvalidArchiveError("Error with archive D:\\Miniconda3\\pkgs\\n...
Compress asked 9/1, 2020 at 4:35
3
Jupyter notebook with about 600 lines or so suddenly got very laggy this past week. Previously all cells would run instantly, the file is mostly just simple pandas aggregations and column functions...
Strapper asked 24/3, 2021 at 3:25
4
When I change the style of a pandas.DataFrame, for instance like so
# color these columns
color_columns = ['roi', 'percent_of_ath']
(portfolio_df
.style
# color negative numbers red
.apply(l...
Salita asked 16/5, 2019 at 21:14
4
Solved
(my2022) C:\Users\donhu>pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113
Looking in indexes: https://pypi.org/simple, https://download.pytorch.o...
Earthshine asked 24/4, 2022 at 8:18
8
I am using a Macbook with OS Sierra, and running Python 3.6.1 and Jupyter Notebook Server 5.0.0
I installed Jupyter Notebook extensions, following the instructions as mentioned on https://github.co...
Individuate asked 11/5, 2017 at 13:9
4
Solved
How to find and replace text in a single cell when using Jupyter extension inside Visual Studio Code
As the title says, how to find and replace text inside a single jupyter cell when using the jupyter extension in Visual Studio Code? I am familiar with ctr+h but that will replace all the occurrenc...
Without asked 2/3, 2022 at 8:59
2
I am able to run pyspark and run a script on Jupyter notebook.
But when I try to run the file from terminal using spark-submit, getting this error:
Error executing Jupyter command file path [Errn...
Wallaby asked 30/9, 2017 at 23:16
6
I have a jupyter notebook that creates a local cache of images. I would like to clear the cache before I run a particular cell. Does anyone know how to do that? I tried:
import gc
gc.collect()
B...
Navelwort asked 30/3, 2018 at 3:35
16
Solved
I am trying to create a Sankey chart in a Jupyter notebook, basing my code on the first example shown here.
I ended up with this, which I can run without getting any errors:
import numpy as npy
i...
Katzir asked 1/2, 2018 at 10:10
2
When I was using Jupyter Notebook in VS Code to run R code, there is always a warning popping out, which says "no text editor active. Source: R". I do not know what it means, but everythi...
Sclar asked 9/6 at 2:39
5
I m working on project in Jupyter Notebook.
Whenever I make a commit not only changed code and markdown columns get commited but also results from code columns.
That makes Git diffs unreadable an...
Swallow asked 16/3, 2020 at 18:51
5
I am working in an environment where writing to the disk space with a folder name like .ipynb_checkpoints is disallowed.
Unfortunately, this is Jupyter Notebook's default path for Save and Checkpoi...
Remscheid asked 17/8, 2018 at 2:51
9
AttributeError: module 'umap' has no attribute 'UMAP'
I tried installing & reinstalling different libraries of umap and umap learn but didn't work any..
Embay asked 28/7, 2019 at 15:15
8
I upgraded conda packages using:
Conda upgrade —all
After that Juypter Notebook shows blank screen in Google Chrome.
I did system restore.
Updated Anaconda.
I removed Jupyter Notebook and rei...
Ceiling asked 14/3, 2019 at 0:4
1 Next >
© 2022 - 2024 — McMap. All rights reserved.