Having trouble? Here are solutions to the most common issues.
The kernel couldn't establish a connection to the execution backend.
Solutions:
Your session lost its connection to the kernel.
Solutions:
Your code exceeded memory limits.
Solutions:
del large_df then import gc; gc.collect()df['col'].astype('category')# Load with explicit sample size to test
df = margin.load("big_file", sample=10000)
A cell is taking too long or stuck in an infinite loop.
Solutions:
The margin.load() call can't find your file.
Solutions:
# List available datasets to see exact names
import margin
for ds in margin.list_datasets():
print(ds.name, '-', ds.display_name)
File upload didn't complete.
Solutions:
The preview table doesn't match what you expect.
Solutions:
Embedded charts/tables don't appear in your brief.
Solutions:
The artifact insertion modal is empty or disabled.
Solutions:
Changes aren't persisting.
Solutions:
Authentication is failing.
Solutions:
You signed up but didn't get the confirmation email.
Solutions:
You've reached your plan's limits.
Solutions:
Matplotlib or Plotly charts show errors or blank output.
Solutions:
plt.show() for matplotlibfig.show() or just return the figure# Matplotlib - always show
import matplotlib.pyplot as plt
plt.plot([1, 2, 3])
plt.show()
# Plotly - works with or without show
import plotly.express as px
fig = px.line(x=[1, 2, 3], y=[1, 4, 9])
fig.show()
Math equations appear as raw text.
Solutions:
$$E = mc^2$$$x^2$variable\_nameDataFrames are overflowing the screen.
Solutions:
df[['col1', 'col2', 'col3']]pd.set_option('display.max_columns', 10)The notebook page takes a long time to open.
Solutions:
Cells take longer than expected to run.
Solutions:
If none of these solve your issue:
Contact support – Email hello@monumentlabs.io
Include in your message: