<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic i want to plot multiple data frames from a pandas datafreame in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/i-want-to-plot-multiple-data-frames-from-a-pandas-datafreame/m-p/16418#M10605</link>
    <description>&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to plot multiple charts from a pandas datafreame.  However, when i run the code below it says "Command result size exceeds limit: Exceeded 20971520 bytes (current = 20973124)".   If I move line 11 and place at 21 (outside of the function), it runs without error and the last chart is shown.  How do I show each chart next to each other so I can run the experiment all at once and save myself time? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import plotly.graph_objects as go
import numpy as np
import time 
from scipy.signal import find_peaks
&amp;nbsp;
def plot_peaks(df_peaks,peak):
    fig = go.Figure()
    fig.add_trace(go.Line(x=df_tyz043['Time'], y=df_tyz043['Value'], name='All tempertures')) # all tempertures 
    fig.add_trace(go.Scatter(x=df_peaks['Time'], y=df_peaks['Value'], name='peaks',mode="markers")) # Just the peaks 
    fig.update_layout(title=str(peak) + " peaks of temperture")
    fig.show()
&amp;nbsp;
trial_peaks = list(range(17, 40)) # peaks to plots 
&amp;nbsp;
# experimental run through each find diffferent peaks 
for peak in trial_peaks:
   #code for find peaks would go here 
   # Pass results to plot_peaks 
    plot_peaks(df_peaks, peak)
    
&amp;nbsp;
&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2022 12:07:13 GMT</pubDate>
    <dc:creator>resolver101757</dc:creator>
    <dc:date>2022-12-16T12:07:13Z</dc:date>
    <item>
      <title>i want to plot multiple data frames from a pandas datafreame</title>
      <link>https://community.databricks.com/t5/data-engineering/i-want-to-plot-multiple-data-frames-from-a-pandas-datafreame/m-p/16418#M10605</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to plot multiple charts from a pandas datafreame.  However, when i run the code below it says "Command result size exceeds limit: Exceeded 20971520 bytes (current = 20973124)".   If I move line 11 and place at 21 (outside of the function), it runs without error and the last chart is shown.  How do I show each chart next to each other so I can run the experiment all at once and save myself time? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import plotly.graph_objects as go
import numpy as np
import time 
from scipy.signal import find_peaks
&amp;nbsp;
def plot_peaks(df_peaks,peak):
    fig = go.Figure()
    fig.add_trace(go.Line(x=df_tyz043['Time'], y=df_tyz043['Value'], name='All tempertures')) # all tempertures 
    fig.add_trace(go.Scatter(x=df_peaks['Time'], y=df_peaks['Value'], name='peaks',mode="markers")) # Just the peaks 
    fig.update_layout(title=str(peak) + " peaks of temperture")
    fig.show()
&amp;nbsp;
trial_peaks = list(range(17, 40)) # peaks to plots 
&amp;nbsp;
# experimental run through each find diffferent peaks 
for peak in trial_peaks:
   #code for find peaks would go here 
   # Pass results to plot_peaks 
    plot_peaks(df_peaks, peak)
    
&amp;nbsp;
&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 12:07:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/i-want-to-plot-multiple-data-frames-from-a-pandas-datafreame/m-p/16418#M10605</guid>
      <dc:creator>resolver101757</dc:creator>
      <dc:date>2022-12-16T12:07:13Z</dc:date>
    </item>
  </channel>
</rss>

