%matplotlib inline
import pandas as pd
import matplotlib.pyplot as plt
import datetime as dt  
import matplotlib
import numpy as np
import urllib
from scipy.stats import pearsonr

load seastar data

def loadalldatasetsmeasurements(list):
    measure = list[0]
    typeofmeasure = list[1]
    dataset =list[2]
    typelink= list[3]
    #change and remove the /test with real one
    if typeofmeasure=='b':
         result = pd.read_csv('http://141.26.208.201/datameasures/'+measure+typeofmeasure+'File_'+dataset+'_'+typelink+'.tsv',sep="\t",usecols=[0,1,2],dtype={'entity':str, 'typeentity':object, 'diffratio':float})
            #print('http://141.26.208.201/'+measure+typeofmeasure+'File_'+dataset+'_'+typelink+'.tsv')   
    elif typeofmeasure=='c':    
         result = pd.read_csv('http://141.26.208.201/datameasures/'+measure+typeofmeasure+'File_'+dataset+'_'+typelink+'.tsv',sep="\t",usecols=[0,1,2],dtype={'entity':str, 'typeentity':object, 'diffentropy':float})
            #print('http://141.26.208.201/'+measure+typeofmeasure+'File_'+dataset+'_'+typelink+'.tsv')
    result['dataset']=dataset
    return result                                                                                                                                                                                                                                                 

    
def loadalldatasets_ameasures(list):
    measure=list[0]
    dataset = list[1]
    typelink = list[2]
    if measure=='m11':
        result = pd.read_csv('http://141.26.208.201/datameasures/'+measure+'aFile_'+dataset+'_'+typelink+'.tsv',sep="\t",usecols=[0,1,2,3],dtype={'entity':str, 'typeentity':object, 'classifcardinality':float,'classifprimecardinality':float})
    elif measure=='m12':
        result = pd.read_csv('http://141.26.208.201/datameasures/'+measure+'aFile_'+dataset+'_'+typelink+'.tsv',sep="\t",usecols=[0,1,2,3],dtype={'entity':str, 'typeentity':object, 'desccardinality':float,'descprimecardinality':float})
    elif measure=='m13':
        result = pd.read_csv('http://141.26.208.201/datameasures/'+measure+'aFile_'+dataset+'_'+typelink+'.tsv',sep="\t",usecols=[0,1,2,3],dtype={'entity':str, 'typeentity':object, 'desccardinality':float,'descprimecardinality':float})
    elif measure=='m21':
        result = pd.read_csv('http://141.26.208.201/datameasures/'+measure+'aFile_'+dataset+'_'+typelink+'.tsv',sep="\t",usecols=[0,1,2,3],dtype={'entity':str, 'typeentity':object, 'econncardinality':float,'econnprimecardinality':float})
    elif measure=='m22':
        result = pd.read_csv('http://141.26.208.201/datameasures/'+measure+'aFile_'+dataset+'_'+typelink+'.tsv',sep="\t",usecols=[0,1,2,3],dtype={'entity':str, 'typeentity':object, 'datasetcardinality':float,'datasetprimecardinality':float})
    elif measure=='m31':
        result = pd.read_csv('http://141.26.208.201/datameasures/'+measure+'aFile_'+dataset+'_'+typelink+'.tsv',sep="\t",usecols=[0,1,2,3],dtype={'entity':str, 'typeentity':object, 'vocabdesccardinality':float,'vocabdescprimecardinality':float})
    result['dataset']=dataset
    return result

    
    
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
def loadalldatasetsmeasurements(list):
    measure = list[0]
    typeofmeasure = list[1]
    dataset =list[2]
    typelink= list[3]
    #change and remove the /test with real one
    if typeofmeasure=='b':
         result = pd.read_csv('data/'+measure+typeofmeasure+'File_'+dataset+'_'+typelink+'.tsv',sep="\t",usecols=[0,1,2],dtype={'entity':str, 'typeentity':object, 'diffratio':float})
            #print('http://141.26.208.201/'+measure+typeofmeasure+'File_'+dataset+'_'+typelink+'.tsv')   
    elif typeofmeasure=='c':    
         result = pd.read_csv('data/'+measure+typeofmeasure+'File_'+dataset+'_'+typelink+'.tsv',sep="\t",usecols=[0,1,2],dtype={'entity':str, 'typeentity':object, 'diffentropy':float})
            #print('http://141.26.208.201/'+measure+typeofmeasure+'File_'+dataset+'_'+typelink+'.tsv')
    result['dataset']=dataset
    return result                                                                                                                                                                                                                                                 
# m11aFile_aemet.tsv
# The useful ones were b and c!! why this??
# I think b and c were to test the difference between diversty and no diversity
measures_list = ['m11a','m11b','m11a','m12b','m13a','m13ba','m21a','m21b','m22a','m22b','m23a','m23b','m31a','m31b','m32a','m32b']

try:
    #all measurements for links type='i'
    measurement=loadalldatasets_ameasures(['m11',dataset,'i'])
    l2c_m11ai.append(measurement)
except urllib.error.HTTPError as err:
 
 
 
 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
datasets = ['l3s','sheffield','bne','bibbase','dwsmannheim','semanticweb','soton','dnb','bibsonomy','eurostat','openei','reegle','govwild','bfs','imf','fao','rodeionet','ndljp','icane','swcompany','korrekt','harth','revyu','eye48','simia','giftree','tomheath','twrpi','torre','linkedgeodata','aemet','geovocab','ontologi','ukpostcodes']

#datasets = ['l3s','sheffield','bne','bibbase','dwsmannheim','semanticweb','soton','dnb'] #tests


l2c_m11ai=[]
l2c_m12ai=[]
l2c_m13ai=[]
l2c_m21ai=[]
l2c_m22ai=[]
l2c_m31ai=[]

l2c_m11as=[]
l2c_m12as=[]
l2c_m13as=[]
l2c_m21as=[]
l2c_m22as=[]
l2c_m31as=[]

l2c_m11ar=[]
l2c_m12ar=[]
l2c_m13ar=[]
l2c_m21ar=[]
l2c_m22ar=[]
l2c_m31ar=[]

l2c_m11ao=[]
l2c_m12ao=[]
l2c_m13ao=[]
l2c_m21ao=[]
l2c_m22ao=[]
l2c_m31ao=[]

l2c_m11ac=[]
l2c_m12ac=[]
l2c_m13ac=[]
l2c_m21ac=[]
l2c_m22ac=[]
l2c_m31ac=[]

l2c_m11bi=[]
l2c_m12bi=[]
l2c_m13bi=[]
l2c_m21bi=[]
l2c_m22bi=[]
l2c_m31bi=[]

l2c_m11bs=[]
l2c_m12bs=[]
l2c_m13bs=[]
l2c_m21bs=[]
l2c_m22bs=[]
l2c_m31bs=[]

l2c_m11br=[]
l2c_m12br=[]
l2c_m13br=[]
l2c_m21br=[]
l2c_m22br=[]
l2c_m31br=[]

l2c_m11bo=[]
l2c_m12bo=[]
l2c_m13bo=[]
l2c_m21bo=[]
l2c_m22bo=[]
l2c_m31bo=[]

l2c_m11bc=[]
l2c_m12bc=[]
l2c_m13bc=[]
l2c_m21bc=[]
l2c_m22bc=[]
l2c_m31bc=[]

l2c_m11ci=[]
l2c_m12ci=[]
l2c_m13ci=[]
l2c_m21ci=[]
l2c_m22ci=[]
l2c_m31ci=[]

l2c_m11cs=[]
l2c_m12cs=[]
l2c_m13cs=[]
l2c_m21cs=[]
l2c_m22cs=[]
l2c_m31cs=[]

l2c_m11cr=[]
l2c_m12cr=[]
l2c_m13cr=[]
l2c_m21cr=[]
l2c_m22cr=[]
l2c_m31cr=[]

l2c_m11co=[]
l2c_m12co=[]
l2c_m13co=[]
l2c_m21co=[]
l2c_m22co=[]
l2c_m31co=[]

l2c_m11cc=[]
l2c_m12cc=[]
l2c_m13cc=[]
l2c_m21cc=[]
l2c_m22cc=[]
l2c_m31cc=[]


def getdata():
    for dataset in datasets:     
        ##### a 
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m11',dataset,'i'])
            l2c_m11ai.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m12',dataset,'i'])
            l2c_m12ai.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m13',dataset,'i'])
            l2c_m13ai.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m21',dataset,'i'])
            l2c_m12ai.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m22',dataset,'i'])
            l2c_m22ai.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m31',dataset,'i'])
            l2c_m31ai.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
       
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m11',dataset,'r'])
            l2c_m11ar.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m12',dataset,'r'])
            l2c_m12ar.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m13',dataset,'r'])
            l2c_m13ar.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m21',dataset,'r'])
            l2c_m12ar.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m22',dataset,'r'])
            l2c_m22ar.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m31',dataset,'r'])
            l2c_m31ar.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m11',dataset,'s'])
            l2c_m11as.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m12',dataset,'s'])
            l2c_m12as.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m13',dataset,'s'])
            l2c_m13as.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m21',dataset,'s'])
            l2c_m12as.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m22',dataset,'s'])
            l2c_m22as.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m31',dataset,'s'])
            l2c_m31as.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m11',dataset,'o'])
            l2c_m11ao.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m12',dataset,'o'])
            l2c_m12ao.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m13',dataset,'o'])
            l2c_m13ao.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m21',dataset,'o'])
            l2c_m12ao.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m22',dataset,'o'])
            l2c_m22ao.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m31',dataset,'o'])
            l2c_m31ao.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
       
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m11',dataset,'c'])
            l2c_m11ac.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m12',dataset,'c'])
            l2c_m12ac.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m13',dataset,'c'])
            l2c_m13ac.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m21',dataset,'c'])
            l2c_m12ac.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m22',dataset,'c'])
            l2c_m22ac.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:
            #all measurements for links type='i'
            measurement=loadalldatasets_ameasures(['m31',dataset,'c'])
            l2c_m31ac.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
       
        ##### b and c
        try:
            #all measurements for links type='i'
            measurement=loadalldatasetsmeasurements(['m11','b',dataset,'i'])
            #print(dataset)
            #print(measurement)
            l2c_m11bi.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m12','b',dataset,'i'])
            #print(dataset)
            #print(measurement)
            l2c_m12bi.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m13','b',dataset,'i'])
            l2c_m13bi.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m21','b',dataset,'i'])
            l2c_m21bi.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m22','b',dataset,'i'])
            l2c_m22bi.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            measurement=loadalldatasetsmeasurements(['m31','b',dataset,'i'])
            l2c_m31bi.append(measurement) 
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:   
            #all measurements for links type='s'
            measurement=loadalldatasetsmeasurements(['m11','b',dataset,'s'])
            l2c_m11bs.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m12','b',dataset,'s'])
            l2c_m12bs.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m13','b',dataset,'s'])
            l2c_m13bs.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m21','b',dataset,'s'])
            l2c_m21bs.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m22','b',dataset,'s'])
            l2c_m22bs.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m31','b',dataset,'s'])
            l2c_m31bs.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
            #all measurements for links type='r'
            
        try:    
            measurement=loadalldatasetsmeasurements(['m11','b',dataset,'r'])
            l2c_m11br.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m12','b',dataset,'r'])
            l2c_m12br.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:       
            measurement=loadalldatasetsmeasurements(['m13','b',dataset,'r'])
            l2c_m13br.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try: 
            measurement=loadalldatasetsmeasurements(['m21','b',dataset,'r'])
            l2c_m21br.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m22','b',dataset,'r'])
            l2c_m22br.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:   
            measurement=loadalldatasetsmeasurements(['m31','b',dataset,'r'])
            l2c_m31br.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            #all measurements for links type='o'
            measurement=loadalldatasetsmeasurements(['m11','b',dataset,'o'])
            l2c_m11bo.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)   
        try:   
            measurement=loadalldatasetsmeasurements(['m12','b',dataset,'o'])
            l2c_m12bo.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m13','b',dataset,'o'])
            l2c_m13bo.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m21','b',dataset,'o'])
            l2c_m21bo.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)       
        try:    
            measurement=loadalldatasetsmeasurements(['m22','b',dataset,'o'])
            l2c_m22bo.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m31','b',dataset,'o'])
            l2c_m31bo.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
            #all measurements for links type='c'
        try:    
            measurement=loadalldatasetsmeasurements(['m11','b',dataset,'c'])
            l2c_m11bc.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m12','b',dataset,'c'])
            l2c_m12bc.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:   
            measurement=loadalldatasetsmeasurements(['m13','b',dataset,'c'])
            l2c_m13bc.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m21','b',dataset,'c'])
            l2c_m21bc.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m22','b',dataset,'c'])
            l2c_m22bc.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m31','b',dataset,'c'])
            l2c_m31bc.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
            #listtoconcatenate l2c -------------------------
        try:   
            measurement=loadalldatasetsmeasurements(['m11','c',dataset,'i'])
            l2c_m11ci.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m12','c',dataset,'i'])
            l2c_m12ci.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m13','c',dataset,'i'])
            l2c_m13ci.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m21','c',dataset,'i'])
            l2c_m21ci.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:        
            measurement=loadalldatasetsmeasurements(['m22','c',dataset,'i'])
            l2c_m22ci.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            measurement=loadalldatasetsmeasurements(['m31','c',dataset,'i'])
            l2c_m31ci.append(measurement) 
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            #all measurements for links type='s'
            measurement=loadalldatasetsmeasurements(['m11','c',dataset,'s'])
            l2c_m11cs.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            measurement=loadalldatasetsmeasurements(['m12','c',dataset,'s'])
            l2c_m12cs.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m13','c',dataset,'s'])
            l2c_m13cs.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            measurement=loadalldatasetsmeasurements(['m21','c',dataset,'s'])
            l2c_m21cs.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m22','c',dataset,'s'])
            l2c_m22cs.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            measurement=loadalldatasetsmeasurements(['m31','c',dataset,'s'])
            l2c_m31cs.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
            #all measurements for links type='r'
        try:    
            measurement=loadalldatasetsmeasurements(['m11','c',dataset,'r'])
            l2c_m11cr.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            measurement=loadalldatasetsmeasurements(['m12','c',dataset,'r'])
            l2c_m12cr.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m13','c',dataset,'r'])
            l2c_m13cr.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            measurement=loadalldatasetsmeasurements(['m21','c',dataset,'r'])
            l2c_m21cr.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            measurement=loadalldatasetsmeasurements(['m22','c',dataset,'r'])
            l2c_m22cr.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            measurement=loadalldatasetsmeasurements(['m31','c',dataset,'r'])
            l2c_m31cr.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            #all measurements for links type='o'
            measurement=loadalldatasetsmeasurements(['m11','c',dataset,'o'])
            l2c_m11co.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            measurement=loadalldatasetsmeasurements(['m12','c',dataset,'o'])
            l2c_m12co.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            measurement=loadalldatasetsmeasurements(['m13','c',dataset,'o'])
            l2c_m13co.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)    
        try:    
            measurement=loadalldatasetsmeasurements(['m21','c',dataset,'o'])
            l2c_m21co.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            measurement=loadalldatasetsmeasurements(['m22','c',dataset,'o'])
            l2c_m22co.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            measurement=loadalldatasetsmeasurements(['m31','c',dataset,'o'])
            l2c_m31co.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            #all measurements for links type='c'
            measurement=loadalldatasetsmeasurements(['m11','c',dataset,'c'])
            l2c_m11cc.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            measurement=loadalldatasetsmeasurements(['m12','c',dataset,'c'])
            l2c_m12cc.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            measurement=loadalldatasetsmeasurements(['m13','c',dataset,'c'])
            l2c_m13cc.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)  
        try:        
            measurement=loadalldatasetsmeasurements(['m21','c',dataset,'c'])
            l2c_m21cc.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            measurement=loadalldatasetsmeasurements(['m22','c',dataset,'c'])
            l2c_m22cc.append(measurement)
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
        try:        
            measurement=loadalldatasetsmeasurements(['m31','c',dataset,'c'])
            l2c_m31cc.append(measurement)
            #listtoconcatenate l2c
        except urllib.error.HTTPError as err:
            if err.code == 404:
                print('HTTP error when loading all measurements for a measure for data set: '+dataset)
                          
getdata() 
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: dwsmannheim
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: bibsonomy
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: openei
HTTP error when loading all measurements for a measure for data set: reegle
HTTP error when loading all measurements for a measure for data set: reegle
HTTP error when loading all measurements for a measure for data set: reegle
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: govwild
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: ndljp
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: swcompany
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: giftree
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
HTTP error when loading all measurements for a measure for data set: torre
print(str(len(l2c_m22br))) # still accesible after modified by the function (global var)
26
def ratioandentropyinonetable(list):
    concat = pd.concat(list, axis=1)
    return concat
 
def inequalities(b,c):
    ratioandentropy=[]
    ratioandentropy.append(b)
    ratioandentropy.append(c['diffentropy']) # the columns entity, typeentity,dataset are the same, just add the column on diffentropy
    bc = ratioandentropyinonetable(ratioandentropy)
    bc.head(3)
    #bc2 = bc.drop(bc.columns[[3, 5]], axis=1)
    
    #print(bc.head(5))
    
    #groupedbc = bc.groupby('dataset')
    #print(groupedbc['diffentropy'].describe())
    
    #print(groupedbc['diffratio'].describe())
    bc_grouped =bc.groupby('dataset')
    bc_grouped.boxplot(column='diffentropy',figsize=(20,20))
    #bc_grouped.boxplot(column=['diffratio','diffentropy'],figsize=(20,20)) #GOOD for showing both ratio and entropy
    #bc.boxplot(column='diffratio',by='dataset')
    #bc.boxplot(column='diffentropy',by='dataset')
   
concat_m11ai=pd.DataFrame()
concat_m12ai=pd.DataFrame()
concat_m13ai=pd.DataFrame()
concat_m21ai=pd.DataFrame()
concat_m22ai=pd.DataFrame()
concat_m31ai=pd.DataFrame()

concat_m11as=pd.DataFrame()
concat_m12as=pd.DataFrame()
concat_m13as=pd.DataFrame()
concat_m21as=pd.DataFrame()
concat_m22as=pd.DataFrame()
concat_m31as=pd.DataFrame()

concat_m11ar=pd.DataFrame()
concat_m12ar=pd.DataFrame()
concat_m13ar=pd.DataFrame()
concat_m21ar=pd.DataFrame()
concat_m22ar=pd.DataFrame()
concat_m31ar=pd.DataFrame()

concat_m11ao=pd.DataFrame()
concat_m12ao=pd.DataFrame()
concat_m13ao=pd.DataFrame()
concat_m21ao=pd.DataFrame()
concat_m22ao=pd.DataFrame()
concat_m31ao=pd.DataFrame()

concat_m11ac=pd.DataFrame()
concat_m12ac=pd.DataFrame()
concat_m13ac=pd.DataFrame()
concat_m21ac=pd.DataFrame()
concat_m22ac=pd.DataFrame()
concat_m31ac=pd.DataFrame()
if len(l2c_m11ai) != 0:
    concat_m11ai =pd.concat(l2c_m11ai)
if len(l2c_m12ai) != 0:
    concat_m12ai =pd.concat(l2c_m12ai)
if len(l2c_m13ai) != 0:
    concat_m13ai =pd.concat(l2c_m13ai)
if len(l2c_m21ai) != 0:
    concat_m21ai =pd.concat(l2c_m21ai)
if len(l2c_m22ai) != 0:
    concat_m22ai =pd.concat(l2c_m22ai)
if len(l2c_m31ai) != 0:
    concat_m31ai =pd.concat(l2c_m31ai)
    
if len(l2c_m11as) != 0:
    concat_m11as =pd.concat(l2c_m11as)
if len(l2c_m12as) != 0:
    concat_m12as =pd.concat(l2c_m12as)
if len(l2c_m13as) != 0:
    concat_m13as =pd.concat(l2c_m13as)
if len(l2c_m21as) != 0:
    concat_m21as =pd.concat(l2c_m21as)
if len(l2c_m22as) != 0:
    concat_m22as =pd.concat(l2c_m22as)
if len(l2c_m31as) != 0:
    concat_m31as =pd.concat(l2c_m31as)
    
if len(l2c_m11ar) != 0:
    concat_m11ar =pd.concat(l2c_m11ar)
if len(l2c_m12ar) != 0:
    concat_m12ar =pd.concat(l2c_m12ar)
if len(l2c_m13ar) != 0:
    concat_m13ar =pd.concat(l2c_m13ar)
if len(l2c_m21ar) != 0:
    concat_m21ar =pd.concat(l2c_m21ar)
if len(l2c_m22ar) != 0:
    concat_m22ar =pd.concat(l2c_m22ar)
if len(l2c_m31ar) != 0:
    concat_m31ar =pd.concat(l2c_m31ar)

if len(l2c_m11ao) != 0:
    concat_m11ao =pd.concat(l2c_m11ao)
if len(l2c_m12ao) != 0:
    concat_m12ao =pd.concat(l2c_m12ao)
if len(l2c_m13ao) != 0:
    concat_m13ao =pd.concat(l2c_m13ao)
if len(l2c_m21ao) != 0:
    concat_m21ao =pd.concat(l2c_m21ao)
if len(l2c_m22ao) != 0:
    concat_m22ao =pd.concat(l2c_m22ao)
if len(l2c_m31ao) != 0:
    concat_m31ao =pd.concat(l2c_m31ao)

if len(l2c_m11ac) != 0:
    concat_m11ac =pd.concat(l2c_m11ac)
if len(l2c_m12ac) != 0:
    concat_m12ac =pd.concat(l2c_m12ac)
if len(l2c_m13ac) != 0:
    concat_m13ac =pd.concat(l2c_m13ac)
if len(l2c_m21ac) != 0:
    concat_m21ac =pd.concat(l2c_m21ac)
if len(l2c_m22ac) != 0:
    concat_m22ac =pd.concat(l2c_m22ac)
if len(l2c_m31ac) != 0:
    concat_m31ac =pd.concat(l2c_m31ac)

    
print(concat_m11ai.head(2))
                                              entity typeentity  \
0  http://dblp.l3s.de/d2r/resource/publications/c...       null   
1  http://dblp.l3s.de/d2r/resource/publications/c...       null   

   classifcardinality  classifprimecardinality dataset  
0                 0.0                      0.0     l3s  
1                 0.0                      0.0     l3s  
#####

concat_m11bi=pd.DataFrame()
concat_m12bi=pd.DataFrame()
concat_m13bi=pd.DataFrame()
concat_m21bi=pd.DataFrame()
concat_m22bi=pd.DataFrame()
concat_m31bi=pd.DataFrame()

concat_m11ci=pd.DataFrame()
concat_m12ci=pd.DataFrame()
concat_m13ci=pd.DataFrame()
concat_m21ci=pd.DataFrame()
concat_m22ci=pd.DataFrame()
concat_m31ci=pd.DataFrame()

concat_m11bs=pd.DataFrame()
concat_m12bs=pd.DataFrame()
concat_m13bs=pd.DataFrame()
concat_m21bs=pd.DataFrame()
concat_m22bs=pd.DataFrame()
concat_m31bs=pd.DataFrame()

concat_m11cs=pd.DataFrame()
concat_m12cs=pd.DataFrame()
concat_m13cs=pd.DataFrame()
concat_m21cs=pd.DataFrame()
concat_m22cs=pd.DataFrame()
concat_m31cs=pd.DataFrame()

concat_m11br=pd.DataFrame()
concat_m12br=pd.DataFrame()
concat_m13br=pd.DataFrame()
concat_m21br=pd.DataFrame()
concat_m22br=pd.DataFrame()
concat_m31br=pd.DataFrame()

concat_m11cr=pd.DataFrame()
concat_m12cr=pd.DataFrame()
concat_m13cr=pd.DataFrame()
concat_m21cr=pd.DataFrame()
concat_m22cr=pd.DataFrame()
concat_m31cr=pd.DataFrame()

concat_m11bo=pd.DataFrame()
concat_m12bo=pd.DataFrame()
concat_m13bo=pd.DataFrame()
concat_m21bo=pd.DataFrame()
concat_m22bo=pd.DataFrame()
concat_m31bo=pd.DataFrame()

concat_m11co=pd.DataFrame()
concat_m12co=pd.DataFrame()
concat_m13co=pd.DataFrame()
concat_m21co=pd.DataFrame()
concat_m22co=pd.DataFrame()
concat_m31co=pd.DataFrame()

concat_m11bc=pd.DataFrame()
concat_m12bc=pd.DataFrame()
concat_m13bc=pd.DataFrame()
concat_m21bc=pd.DataFrame()
concat_m22bc=pd.DataFrame()
concat_m31bc=pd.DataFrame()

concat_m11cc=pd.DataFrame()
concat_m12cc=pd.DataFrame()
concat_m13cc=pd.DataFrame()
concat_m21cc=pd.DataFrame()
concat_m22cc=pd.DataFrame()
concat_m31cc=pd.DataFrame()
if len(l2c_m11bi) != 0 and len(l2c_m11ci)!= 0:
    print('m11 i check')
    concat_m11bi =pd.concat(l2c_m11bi)
    concat_m11ci = pd.concat(l2c_m11ci)
    inequalities(concat_m11bi, concat_m11ci)

if len(l2c_m12bi) != 0 and len(l2c_m12ci)!= 0:
    print('m12 i check')
    concat_m12bi =pd.concat(l2c_m12bi)
    concat_m12ci = pd.concat(l2c_m12ci)
    inequalities(concat_m12bi, concat_m12ci)

if len(l2c_m13bi) != 0 and len(l2c_m13ci)!= 0:
    print('m13 i check')
    concat_m13bi =pd.concat(l2c_m13bi)
    concat_m13ci = pd.concat(l2c_m13ci)
    inequalities(concat_m13bi, concat_m13ci)

if len(l2c_m21bi) != 0 and len(l2c_m21ci)!= 0:
    print('m21 i check')
    concat_m21bi =pd.concat(l2c_m21bi)
    concat_m21ci = pd.concat(l2c_m21ci)
    inequalities(concat_m21bi, concat_m21ci)

if len(l2c_m22bi) != 0 and len(l2c_m22ci)!= 0:
    print('m22 i check')
    concat_m22bi =pd.concat(l2c_m22bi)
    concat_m22ci = pd.concat(l2c_m22ci)
    inequalities(concat_m22bi, concat_m22ci)

if len(l2c_m31bi) != 0 and len(l2c_m31ci)!= 0:
    print('m31 i check')
    concat_m31bi =pd.concat(l2c_m31bi)
    concat_m31ci = pd.concat(l2c_m31ci)
    inequalities(concat_m31bi, concat_m31ci)
m11 i check
m12 i check
m13 i check
m21 i check
m22 i check
m31 i check