# Getting Python to use Data from Spreadsheet column(s)

**URL:** <https://discuss.kde.org/t/getting-python-to-use-data-from-spreadsheet-column-s/42011>\
**Category:** Help\
**Tags:** labplot\
**Created:** [November 25, 2025, 7:38pm UTC](https://discuss.kde.org/t/getting-python-to-use-data-from-spreadsheet-column-s/42011 "2025-11-25T19:38:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mihaynd](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/mihaynd/32/27959_2.png) [@Mihaynd](https://discuss.kde.org/u/Mihaynd)\
**Post date:** [November 25, 2025, 7:38pm UTC](https://discuss.kde.org/t/getting-python-to-use-data-from-spreadsheet-column-s/42011/1 "2025-11-25T19:38:55Z")

</div>

As stated in the title, I couldn’t find a way to reuse data already existing or calculated from a spreadsheet in LabPlot when in a Python Notebook.

Is it at all possible to do this?

For context, I’m trying to do hypothesis testing on sets of data and later on found out that LabPlot is not able to do this natively without python. As of now I’m flattening and copying the data with comma separators into a variable in python, but this will get increasingly problematic with large datasets

---

<div class="post-metadata">

**Author:** ![asemke](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/asemke/32/22289_2.png) [@asemke](https://discuss.kde.org/u/asemke)\
**Post date:** [November 25, 2025, 8:45pm UTC](https://discuss.kde.org/t/getting-python-to-use-data-from-spreadsheet-column-s/42011/2 "2025-11-25T20:45:51Z")

</div>

At the moment it’s only possible to consume the results in the opposite direction - data created in a notebook can be used as the data source for the visualization.

If you need this for hypothesis testing only, please check our current development version where we implemented multiple tests:

> **[An Update on our NGI Zero Core Funded Work – LabPlot](https://labplot.org/2025/10/04/an-update-on-our-ngi-zero-core-funded-work/)**

> **[LabPlot (@LabPlot@floss.social)](https://floss.social/@LabPlot/115315264014299201)**
>
> Attached: 1 image
> 
> We completed our @NGIZero@mastodon.xyz Core funded project!
> 
> https://labplot.org/2025/10/04/an-update-on-our-ngi-zero-core-funded-work/ 
> 
> Coming soon to #LabPlot: Python scripting, live data analysis, and a suite of 13 statistical...

This new feature will be part of the next release of LabPlot.

---

<div class="post-metadata">

**Author:** ![Mihaynd](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/mihaynd/32/27959_2.png) [@Mihaynd](https://discuss.kde.org/u/Mihaynd)\
**Post date:** [November 26, 2025, 2:29pm UTC](https://discuss.kde.org/t/getting-python-to-use-data-from-spreadsheet-column-s/42011/3 "2025-11-26T14:29:54Z")

</div>

Thank you for the quick reply!

It would be great if we could use data created outside the notebook inside it as well! No worries though, that’s for the KDE Devs to decide if it may be something that can be done.

In the meantime, I’ll get the development version and give it a shot! Really appreciate the amazing work!
