import math
from Disp import preTag
import numpy as np
import pandas as pd


class PO(object):
    """Portfolio Optimization """

    def __init__(self, data):
        self.data = data

    def cleanData(self):
        if self.data.columns[0] == 'Date':
            self.date = self.data['Date']
            self.data = self.data.drop('Date', 1)
        else:
            self.date = None

    def estimateAssetMoments(self):
        self.CORR = self.data.corr()
        self.CVC = self.data.cov()

4709075a883d7ff1328ea9d72c9bbf07f2cbd170
<mask token>


class PO(object):
    <mask token>
    <mask token>

    def cleanData(self):
        if self.data.columns[0] == 'Date':
            self.date = self.data['Date']
            self.data = self.data.drop('Date', 1)
        else:
            self.date = None
    <mask token>

<mask token>


class PO(object):
    <mask token>
    <mask token>

    def cleanData(self):
        if self.data.columns[0] == 'Date':
            self.date = self.data['Date']
            self.data = self.data.drop('Date', 1)
        else:
            self.date = None

    def estimateAssetMoments(self):
        self.CORR = self.data.corr()
        self.CVC = self.data.cov()

<mask token>


class PO(object):
    """Portfolio Optimization """

    def __init__(self, data):
        self.data = data

    def cleanData(self):
        if self.data.columns[0] == 'Date':
            self.date = self.data['Date']
            self.data = self.data.drop('Date', 1)
        else:
            self.date = None

    def estimateAssetMoments(self):
        self.CORR = self.data.corr()
        self.CVC = self.data.cov()

import math
from Disp import preTag
import numpy as np
import pandas as pd


class PO(object):
    """Portfolio Optimization """

    def __init__(self, data):
        self.data = data

    def cleanData(self):
        if self.data.columns[0] == 'Date':
            self.date = self.data['Date']
            self.data = self.data.drop('Date', 1)
        else:
            self.date = None

    def estimateAssetMoments(self):
        self.CORR = self.data.corr()
        self.CVC = self.data.cov()
