# Doubt about Editing DataFrame

**URL:** <https://discourse.jupyter.org/t/doubt-about-editing-dataframe/37965>\
**Category:** Notebook\
**Tags:** help-wanted\
**Created:** [September 28, 2025, 4:17pm UTC](https://discourse.jupyter.org/t/doubt-about-editing-dataframe/37965 "2025-09-28T16:17:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nasrin\_begum\_pathan](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nasrin\_begum\_pathan](https://discourse.jupyter.org/u/nasrin_begum_pathan)\
**Post date:** [September 28, 2025, 4:17pm UTC](https://discourse.jupyter.org/t/doubt-about-editing-dataframe/37965/1 "2025-09-28T16:17:16Z")

</div>

[Untitled72](https://nasrin1748.github.io/Doubt/) I want to update the DataFrame with the changes I make using the DataFrame editor.

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [September 29, 2025, 12:36am UTC](https://discourse.jupyter.org/t/doubt-about-editing-dataframe/37965/2 "2025-09-29T00:36:29Z")

</div>

Please include your the main part of code in the post so everyone can follow along later when your post is not available. This is meant to be a forum for learning. In this case there was not many lines so you can just include it.  
For the record, this is what is shared:

```python
import numpy as np
import pandas as pd
np.random.seed(0)
df = pd.DataFrame(np.random.randint(0,100,(3,3)))
print(df)
df.style.format('<input name="df" value="{}" />')

```

* * *

There is no DataFrame Editor there. That is a Pandas styler object, see [Table Visualization](https://pandas.pydata.org/docs/user_guide/style.html) where the title clearly states it is for display. It is not meant to be interactive.

Maybe look at [itables](https://github.com/mwouts/itables) or customize things with ipywidgets.

---

<div class="post-metadata">

**Author:** ![nasrin\_begum\_pathan](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nasrin\_begum\_pathan](https://discourse.jupyter.org/u/nasrin_begum_pathan)\
**Post date:** [September 29, 2025, 5:10am UTC](https://discourse.jupyter.org/t/doubt-about-editing-dataframe/37965/3 "2025-09-29T05:10:04Z")

</div>

I there any way to make it interactive and update the dataframe?

---

<div class="post-metadata">

**Author:** ![fomightez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/fomightez/32/495_2.png) [@fomightez](https://discourse.jupyter.org/u/fomightez)\
**Post date:** [September 29, 2025, 1:25pm UTC](https://discourse.jupyter.org/t/doubt-about-editing-dataframe/37965/4 "2025-09-29T13:25:36Z")

</div>

Yes, I told you in the last sentence about some options you could look into.

---

<div class="post-metadata">

**Author:** ![nasrin\_begum\_pathan](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nasrin\_begum\_pathan](https://discourse.jupyter.org/u/nasrin_begum_pathan)\
**Post date:** [September 29, 2025, 5:12pm UTC](https://discourse.jupyter.org/t/doubt-about-editing-dataframe/37965/5 "2025-09-29T17:12:00Z")

</div>

Yes,I got a solution using ipywidgets button click.Thanks for helping.
