read_table € symbol

2017-10-26 Thread Davide Dalmasso
Dear all, I'm trying to read a txt file with read_table but in the file there are some string that contain the € symbol and the procedure returns me an error. I tried with encoding='utf-8' but the problem is still there: pd.read_table('filename.txt', sep=';', encoding='utf-8') Anyone can help me?

Finance: Mean-Variance Efficient Frontier - Portfolio Optimization - Markowitz

2013-11-07 Thread Davide Dalmasso
Hi, is there anyone that have some reliable tool, package or website that can help me to solve a financial portfolio optimization problem in Python? Many thanks in advance Davide Dalmasso -- https://mail.python.org/mailman/listinfo/python-list

Re: statsmodels.api

2013-09-17 Thread Davide Dalmasso
Il giorno lunedì 16 settembre 2013 17:47:55 UTC+2, Ethan Furman ha scritto: On 09/16/2013 08:37 AM, Davide Dalmasso wrote: Hi, I intalled an executable version of statsmodels library for Windows 32-bit. When I import it in my Python Shell no problem occurs buy when I write

Re: statsmodels.api

2013-09-17 Thread Davide Dalmasso
You are right... there is a problem with scipy intallation because this error arise... from scipy.interpolate import interp1d Traceback (most recent call last): File pyshell#3, line 1, in module from scipy.interpolate import interp1d File

Re: statsmodels.api

2013-09-17 Thread Davide Dalmasso
On Monday, 16 September 2013 17:37:58 UTC+2, Davide Dalmasso wrote: Hi, I intalled an executable version of statsmodels library for Windows 32-bit. When I import it in my Python Shell no problem occurs buy when I write: import statsmodels.api as sm the following error

Re: statsmodels.api

2013-09-17 Thread Davide Dalmasso
Oscar you are right! The problem was Numpy! I re-installed it using an executable that I downloaded from: http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy I don't remember if previously I installed it using another source. However the problem now is disappeared! Many thanks! Davide --

statsmodels.api

2013-09-16 Thread Davide Dalmasso
Hi, I intalled an executable version of statsmodels library for Windows 32-bit. When I import it in my Python Shell no problem occurs buy when I write: import statsmodels.api as sm the following error arises: Traceback (most recent call last): File pyshell#1, line 1, in module import

Broadcasting TimeSeries

2013-09-04 Thread Davide Dalmasso
Hello, I opened my Python Shell and I wrote the following: import numpy as np import pandas as pd then I made a function def afunc(aframe): return aframe - aframe.mean(axis=1) and I defined a DataFrame with time as index A =

Re: ipython

2013-07-09 Thread davide . dalmasso
I did not see the massage when installation finisched. Sorry! Many Thanks!!! The IPython installer actually mentions this when it finishes installing: Distribute (setuptools) is required to create Start Menu items. Re-run this installer after installing distribute to get Start

ipython

2013-07-08 Thread davide . dalmasso
Hi, I work with Python 3.3. I downloaded an IPython executable version from http://www.lfd.uci.edu/~gohlke/pythonlibs/ I installed it but no shortcut appears in my start menu. How can I launch it or alternatively is there some other free source of executable file for Windows 7? Many Thanks --