Hello,

my name is Davide and I'm a data scientist in Milan, Italy.

I've been having lots of problems with Spyder, lately. 

Basically, I have two scripts: one called "rolling.py" and the other one 
called "gen_rolling.py". The script "rolling" contains the functions used 
by "gen_rolling" and it mainly consist of the function called 
"create_rolling_dataset", that, as the name suggests, creates a particular 
type of dataset. "gen_rolling", reported below, is just currently using the 
functions in "rolling" to measure the time taken.

import pandas as pd
import numpy as np
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 functions in rolling work fine: I checked they work by debugging and by 
running line-by-line the code. However, when I run the script "gen_rolling" 
I always get 

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

Sometimes I get it after I load the data (which is quite a big dataset 
anyway: almost 52000 rows), sometimes before and some other times after I 
launch create_rolling_dataset.

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 very 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