Hello,

my name is Davide and I'm a data scientist in Milan, Italy. I've been 
having lots of problems with Spyder, lately.

I wrote two simple scripts, one called "rolling.py", which contains all the 
necessary functions that I'm using, and "gen_rolling.py" which is the 
script that actually loads the data and uses the functions inside rolling. 
I paste here the "gen_rolling" script so far. Basically it was just a test.

import pandas as pd
import time
import rolling

data = pd.read_excel("C:/Users/utente/Documents/PUN/Anno.xlsx")
meteo = pd.read_table("C:/Users/utente/Documents/PUN/stor.txt", sep="\t")

start = time.time()
test, y = rolling.create_rolling_dataset(data,"sab", "CSUD",meteo,1,0,24)
end = time.time()
print end-start

The create_rolling_dataset is a function that, as the name suggests, 
creates a particulat kind of dataset that I need and I checked that it's 
actually working by debugging it and running it line-by-line. However, when 
I launch the above script, after a while, in the console appears 

It seems the kernel died unexpectedly. Use 'Restart kernel' to continue 
using this console.
It seems the kernel died unexpectedly. Use 'Restart kernel' to continue 
using this console.
It seems the kernel died unexpectedly. Use 'Restart kernel' to continue 
using this console.
It seems the kernel died unexpectedly. Use 'Restart kernel' to continue 
using this console.

Sometimes it appears after I load "data" (which is quite a big dataset, 
anyway: 52000 rows), sometimes before I can even load the data and 
sometimes after I launch the create_rolling_dataset function. 

I'm using Windows Server 2008 and 

Python 2.7.12 |Anaconda 4.1.1 (64-bit)| (default, Jun 29 2016, 11:07:13) 
[MSC v.1500 64 bit (AMD64)]
Type "copyright", "credits" or "license" for more information.

IPython 4.2.0 -- An enhanced Interactive Python. 

I'm really stuck and any help is much appreciated.

Davide

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to