Python Forum
Removing data in a plot
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Removing data in a plot
#4
Sorry for late reply, there was misplaced ), it should be:
skip_size = len(next(tscv.split(X))[0])
tcsv.split(X) returns generator object; calling next on it returns tuple of arrays containing indices of first train and test split. We want size of first train split, so [0] is used to extract train split.
Reply


Messages In This Thread
Removing data in a plot - by ulrich48155 - Jun-08-2017, 02:25 PM
RE: Removing data in a plot - by zivoni - Jun-08-2017, 09:11 PM
RE: Removing data in a plot - by ulrich48155 - Jun-10-2017, 07:38 PM
RE: Removing data in a plot - by zivoni - Jun-19-2017, 06:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation URGENT: How to plot data from text file. Trying to recreate plots from MATLAB JamieAl 4 3,537 Dec-03-2023, 06:56 AM
Last Post: Pedroski55
  Fit straight line to pandas time series data with semilog plot schniefen 2 1,532 Mar-10-2023, 01:08 PM
Last Post: jefsummers
  Plot time series data schniefen 3 1,312 Mar-04-2023, 04:22 PM
Last Post: noisefloor

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020