Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: using python with QGIS to disseminate CSV data on a polygon
Post: using python with QGIS to disseminate CSV data on ...

Hi all, i am a newbie programmer on QGIS with python. i am working on QGIS version 3.12.3-București having a python interface prompt to write python code. QGIS is installed on windows 10. in fact i ...
wissam1974 General Coding Help 0 1,474 Jun-10-2020, 10:13 AM
    Thread: Python write result of VAR to excel file
Post: RE: Python write result of VAR to excel file

Hi Mr but how can i find all needed coefficients and how can i built my own container?? can you give me more details?? in fact i tried several trials such as data_NO_nan_neg=mdata.replace(np.inf, np....
wissam1974 Data Science 8 8,638 Jul-13-2019, 01:09 PM
    Thread: Python write result of VAR to excel file
Post: RE: Python write result of VAR to excel file

(Jul-13-2019, 08:42 AM)perfringo Wrote: I don't use this module therefore my advice is general one. Error message clearly states that "'VARSummary' object has no attribute 'tables'". You can't appl...
wissam1974 Data Science 8 8,638 Jul-13-2019, 08:50 AM
    Thread: Python write result of VAR to excel file
Post: RE: Python write result of VAR to excel file

(Jul-13-2019, 07:33 AM)perfringo Wrote: Maybe I don't comprehend the whole picture but there is input-output library of statsmodel - iolib Quote:Users can also leverage the powerful input/output fu...
wissam1974 Data Science 8 8,638 Jul-13-2019, 08:11 AM
    Thread: Python write result of VAR to excel file
Post: RE: Python write result of VAR to excel file

Hi Mr, i checked the link you have sent but i did not found what i am looking for, do you please help me find the one that fit my situation which is write the result of "write output of var.fit.sum...
wissam1974 Data Science 8 8,638 Jul-13-2019, 06:29 AM
    Thread: Python write result of VAR to excel file
Post: Python write result of VAR to excel file

Hi for all, i am working on creation of model VAR(Vector Auto Regressive) using python. here is the pseudo code model = VAR(MyDataFrame) results = model.fit(maxlags=7, method='ols', ic='aic', trend=...
wissam1974 Data Science 8 8,638 Jul-12-2019, 11:50 PM
    Thread: replace nan values by mean group by date.year, date.month
Post: RE: replace nan values by mean group by date.year,...

(Jul-06-2019, 01:49 AM)scidam Wrote: If you are using inplace=True you don't need to assign the result. Remove inplace=True in your code, or print(data_pd). result variable is None, because when inp...
wissam1974 Data Science 5 8,474 Jul-06-2019, 02:00 AM
    Thread: replace nan values by mean group by date.year, date.month
Post: RE: replace nan values by mean group by date.year,...

(Jul-06-2019, 01:10 AM)scidam Wrote: Your code should be something like this: data_pd.fillna(data_pd.groupby([data_pd.Dateobs.dt.year, df.Dateobs.dt.month]).transform('mean'), inplace=True) hi Mr ...
wissam1974 Data Science 5 8,474 Jul-06-2019, 01:32 AM
    Thread: replace nan values by mean group by date.year, date.month
Post: replace nan values by mean group by date.year, dat...

Hi for all i have read a CSV file with tow series columns as follow: Dateobs TMIN 2006-01-01 NAN 2006-01-02 12.3 2006-01-03 11.3 .. 2006-02-01 15.2 2006-02-02 ...
wissam1974 Data Science 5 8,474 Jul-06-2019, 12:49 AM
    Thread: Parallelizing Run ARIMA Model
Post: Parallelizing Run ARIMA Model

Hi All experts, I have created ARIMA model with order(0,0,6) and run it in a parallel mode in order to generalize it to an order(0,0,367) Here is my code: from matplotlib import pyplot from statsmod...
wissam1974 Data Science 0 2,969 Mar-02-2019, 07:20 PM
    Thread: Python Parallel Programing
Post: RE: Python Parallel Programing

Thank you Mr, you have helped me solve my problem.
wissam1974 Data Science 6 8,776 Feb-25-2019, 08:48 PM
    Thread: Python Parallel Programing
Post: RE: Python Parallel Programing

Hi Mr, thank you again for you reply really i am grateful to you, i also tries this code i am getting the following error Error:C:\Users\lenovo\AppData\Local\Programs\Python\Python37\python.exe C:/10...
wissam1974 Data Science 6 8,776 Feb-24-2019, 05:30 PM
    Thread: Python Parallel Programing
Post: RE: Python Parallel Programing

Hi Mr, first i would like to express all my appreciation for your help. i have followed your suggestions step by step and i modify my code so as it fit your recommendations, the new code becomes as f...
wissam1974 Data Science 6 8,776 Feb-24-2019, 12:02 PM
    Thread: Python Parallel Programing
Post: Python Parallel Programing

Hi all, this is the first time I am using the parallel program in python, my program is shown below import numpy as np from time import time import multiprocessing as mp #...
wissam1974 Data Science 6 8,776 Feb-23-2019, 11:09 PM
    Thread: ARIMA.Fit memoryError
Post: RE: ARIMA.Fit memoryError

(Feb-22-2019, 02:25 AM)scidam Wrote: It seems that you operate with big arrays somewhere, or such arrays occur during computations. zeros((N, M)) in Numpy tries to allocate N*M*8 bytes (8 is default...
wissam1974 Data Science 2 4,125 Feb-23-2019, 07:21 PM
    Thread: ARIMA.Fit memoryError
Post: ARIMA.Fit memoryError

hi All python Forum experts i am using the software pyCharm2018.1.1 i have tried to build ARIMA model in python, my model has been identified by the parameters (p=0, d=0, q=367), here is the code: ...
wissam1974 Data Science 2 4,125 Feb-20-2019, 06:45 PM
    Thread: ARIMA error with hight MA order
Post: ARIMA error with hight MA order

Hi for all Python expert forum. i have used the predefined functions in python such as: plot_acf(col, ax=pyplot.gca(), lags=1500) #to select p value order AR plot_pacf(col, ax=pyplot.gca(), lags=1500...
wissam1974 Data Science 0 4,278 Feb-16-2019, 02:57 PM
    Thread: python code for Bartlett confidential band
Post: RE: python code for Bartlett confidential band

(Feb-01-2019, 03:09 AM)micseydel Wrote: What have you tried? What exactly are you having trouble with? Hi Mr i have used the predefined function in python such as: plot_acf(col, ax=pyplot.gca(), la...
wissam1974 Data Science 2 2,631 Feb-16-2019, 02:25 PM
    Thread: python code for Bartlett confidential band
Post: python code for Bartlett confidential band

Hi all i need to write a script on python that is related to the equation of Bartlett confidential band given by the following formula ρx(k) ∈ [ 0 ± 1.96 ( sqrt ( (1+2∑ρx(i) ) ) / sqrt(T) ) ] ...
wissam1974 Data Science 2 2,631 Jan-29-2019, 12:18 AM
    Thread: arima model error in python
Post: arima model error in python

hi i am using the software PyCharm(2018.1) software to create ARIMA model in pyhthon here is the model that i have created: def arima_Model_Static_PlotErrorAC_PAC(series, arima_order): # prepar...
wissam1974 Data Science 0 4,220 Jan-23-2019, 09:37 AM

User Panel Messages

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