« first day (3322 days earlier)      last day (34 days later) » 

12:53 PM
Hello i have two processes: P1 and P2. P1 puts data in P2. When P2 terminates and then restarting when i am trying to put data from P1 to new P2 then this error oqquers: RuntimeError: can't create new thread at interpreter shutdown. I am almost sure that the queue variable i reuse is the new one. What's am i going wrong?
 
1 message moved from Python
 
 
5 hours later…
6:22 PM
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
import matplotlib.dates as mdates
import pandas as pd
import datetime

datas = np.load('dates.npy', allow_pickle=True)
datas = datas.flatten()

print(type(dates))
print(np.shape(dates))

l = []
for i in range(len(dates)):
    l.append(datetime.datetime.strptime(dates[i], '%Y-%m-%d %H:%M'))

print(type(l))
print(type(l[0]))
print(np.shape(l))

l = mdates.date2num(l)

ax = sns.boxenplot(l)
ax.set(xlabel='MY X AXIS', ylabel='MY Y AXIS')
 
1 message moved from Python
 

« first day (3322 days earlier)      last day (34 days later) »