UniTO/anno2/YearI/SecondSem/BDM/progetto/Lab1-2.ipynb
Francesco Mecca 5e286062f8 MCAD 2019
2018-11-22 13:09:11 +01:00

1797 lines
83 KiB
Text

{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import newsource.libword as libword\n",
"import math\n",
"import pickle\n",
"from decimal import *\n",
"import pandas as pd\n",
"from collections import OrderedDict as odict\n",
"import matplotlib.pyplot as plt\n",
"%matplotlib inline\n",
"import seaborn as sns"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<module 'newsource.libword' from '/_old/UNITO/lezioni/YearI/SecondSem/BDM/progetto/newsource/libword.py'>"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"import importlib\n",
"importlib.reload(libword)"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"with open('wordDfs.pickle', 'rb') as fp:\n",
" wordDfs = pickle.load(fp)\n",
"with open('discretizeDfs.pickle', 'rb') as fp:\n",
" discretizeDfs = pickle.load(fp)"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"analisi = \"tf\"\n",
"coord = 'X'\n",
"csv = 1"
]
},
{
"cell_type": "code",
"execution_count": 20,
"metadata": {},
"outputs": [],
"source": [
"if analisi == 'tf':\n",
" dfs = libword.parallel(target=libword.extract_words, iterable=wordDfs, \n",
" how=libword.text_freq, nwords=10, n=12)"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
"if analisi == 'idf':\n",
" idfs = libword.idf(wordDfs.values())\n",
" dfs = sorted(idfs, key=lambda x : idfs[x])[-10:]"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
"if analisi == 'idf2':\n",
" g_idfs = libword.idf(g1.values())\n",
" dfs = sorted(g_idfs, key=lambda x : g_idfs[x])[-10:]\n",
" "
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
"if analisi == 'tf_idf':\n",
" dfs = libword.tfidf(wordDfs, nwords=10)"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {},
"outputs": [],
"source": [
"if analisi == 'tf_idf2':\n",
" dfs = libword.tfidf(g, nwords=10)"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [],
"source": [
"#x = odict((k,v) for k,v in dfs.items() if k[0] == 'X' )\n",
"#y = odict((k,v) for k,v in dfs.items() if k[0] == 'Y' )\n",
"#z = odict((k,v) for k,v in dfs.items() if k[0] == 'Z' )\n",
"#w = odict((k,v) for k,v in dfs.items() if k[0] == 'W' )"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [],
"source": [
"#v = oc.image(wordDfs[('X',1)])"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"(40, 20)\n"
]
},
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>0</th>\n",
" <th>1</th>\n",
" <th>2</th>\n",
" <th>3</th>\n",
" <th>4</th>\n",
" <th>5</th>\n",
" <th>6</th>\n",
" <th>7</th>\n",
" <th>8</th>\n",
" <th>9</th>\n",
" <th>10</th>\n",
" <th>11</th>\n",
" <th>12</th>\n",
" <th>13</th>\n",
" <th>14</th>\n",
" <th>15</th>\n",
" <th>16</th>\n",
" <th>17</th>\n",
" <th>18</th>\n",
" <th>19</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>0.367590</td>\n",
" <td>0.468980</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.067262</td>\n",
" <td>-0.143600</td>\n",
" <td>0.227100</td>\n",
" <td>-1.00000</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.580360</td>\n",
" <td>0.512240</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>0.436420</td>\n",
" <td>0.191160</td>\n",
" <td>0.318920</td>\n",
" <td>0.580360</td>\n",
" <td>0.067262</td>\n",
" <td>-0.136200</td>\n",
" <td>0.208590</td>\n",
" <td>-1.00000</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" <td>0.33375</td>\n",
" <td>0.580360</td>\n",
" <td>0.512240</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.580360</td>\n",
" <td>-0.468980</td>\n",
" <td>0.512240</td>\n",
" <td>-0.100770</td>\n",
" <td>-0.015834</td>\n",
" <td>0.580360</td>\n",
" <td>0.512240</td>\n",
" <td>0.158810</td>\n",
" <td>0.015834</td>\n",
" <td>-1.00000</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" <td>0.29221</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>0.580360</td>\n",
" <td>0.468980</td>\n",
" <td>0.58036</td>\n",
" <td>0.580360</td>\n",
" <td>-0.166630</td>\n",
" <td>0.436420</td>\n",
" <td>-0.333750</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-0.047760</td>\n",
" <td>-1.00000</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" <td>-0.14360</td>\n",
" <td>0.512240</td>\n",
" <td>0.580360</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>0.580360</td>\n",
" <td>0.158810</td>\n",
" <td>0.58036</td>\n",
" <td>0.580360</td>\n",
" <td>0.246940</td>\n",
" <td>0.305130</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.191160</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-0.217690</td>\n",
" <td>-1.00000</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-0.16663</td>\n",
" <td>0.387370</td>\n",
" <td>0.580360</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>0.580360</td>\n",
" <td>0.468980</td>\n",
" <td>0.58036</td>\n",
" <td>0.580360</td>\n",
" <td>0.054223</td>\n",
" <td>0.409930</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.121740</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-0.199750</td>\n",
" <td>-1.00000</td>\n",
" <td>0.580360</td>\n",
" <td>0.387370</td>\n",
" <td>-0.268470</td>\n",
" <td>0.580360</td>\n",
" <td>-0.10077</td>\n",
" <td>0.280020</td>\n",
" <td>0.580360</td>\n",
" </tr>\n",
" <tr>\n",
" <th>6</th>\n",
" <td>0.512240</td>\n",
" <td>0.268470</td>\n",
" <td>0.58036</td>\n",
" <td>0.512240</td>\n",
" <td>-0.136200</td>\n",
" <td>0.257470</td>\n",
" <td>-1.000000</td>\n",
" <td>0.436420</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-0.349870</td>\n",
" <td>-1.00000</td>\n",
" <td>0.580360</td>\n",
" <td>0.034925</td>\n",
" <td>-0.166630</td>\n",
" <td>0.034925</td>\n",
" <td>-0.58036</td>\n",
" <td>-0.080487</td>\n",
" <td>0.580360</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>0.333750</td>\n",
" <td>0.054223</td>\n",
" <td>0.40993</td>\n",
" <td>0.468980</td>\n",
" <td>-0.292210</td>\n",
" <td>0.136200</td>\n",
" <td>-1.000000</td>\n",
" <td>0.468980</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-0.409930</td>\n",
" <td>-1.00000</td>\n",
" <td>0.580360</td>\n",
" <td>-0.409930</td>\n",
" <td>0.054223</td>\n",
" <td>-0.318920</td>\n",
" <td>-1.00000</td>\n",
" <td>0.060722</td>\n",
" <td>0.580360</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>0.041329</td>\n",
" <td>-0.100770</td>\n",
" <td>0.18279</td>\n",
" <td>0.318920</td>\n",
" <td>0.067262</td>\n",
" <td>0.067262</td>\n",
" <td>-0.580360</td>\n",
" <td>0.468980</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-0.580360</td>\n",
" <td>-1.00000</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>0.257470</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-0.367590</td>\n",
" <td>0.580360</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9</th>\n",
" <td>-0.022182</td>\n",
" <td>-0.512240</td>\n",
" <td>0.04776</td>\n",
" <td>-0.009496</td>\n",
" <td>0.512240</td>\n",
" <td>-0.107670</td>\n",
" <td>-0.333750</td>\n",
" <td>0.107670</td>\n",
" <td>0.580360</td>\n",
" <td>0.512240</td>\n",
" <td>0.512240</td>\n",
" <td>-0.580360</td>\n",
" <td>-1.00000</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>0.468980</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-0.580360</td>\n",
" <td>0.580360</td>\n",
" </tr>\n",
" <tr>\n",
" <th>10</th>\n",
" <td>-0.246940</td>\n",
" <td>-0.436420</td>\n",
" <td>-0.10077</td>\n",
" <td>-0.028545</td>\n",
" <td>0.468980</td>\n",
" <td>-0.318920</td>\n",
" <td>-0.107670</td>\n",
" <td>-0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.292210</td>\n",
" <td>0.174620</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>0.512240</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" </tr>\n",
" <tr>\n",
" <th>11</th>\n",
" <td>-0.436420</td>\n",
" <td>-0.436420</td>\n",
" <td>-0.23683</td>\n",
" <td>-0.292210</td>\n",
" <td>0.468980</td>\n",
" <td>-0.468980</td>\n",
" <td>-0.028545</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" <td>-0.199750</td>\n",
" <td>-0.305130</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>0.512240</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" </tr>\n",
" <tr>\n",
" <th>12</th>\n",
" <td>-0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.43642</td>\n",
" <td>-0.387370</td>\n",
" <td>0.305130</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.003165</td>\n",
" <td>-0.143600</td>\n",
" <td>0.087183</td>\n",
" <td>-0.143600</td>\n",
" <td>-0.022182</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>0.174620</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.047760</td>\n",
" </tr>\n",
" <tr>\n",
" <th>13</th>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.36759</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.227100</td>\n",
" <td>-1.000000</td>\n",
" <td>0.022182</td>\n",
" <td>0.166630</td>\n",
" <td>0.280020</td>\n",
" <td>-0.257470</td>\n",
" <td>0.208590</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>0.009496</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.028545</td>\n",
" </tr>\n",
" <tr>\n",
" <th>14</th>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.33375</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>0.041329</td>\n",
" <td>0.305130</td>\n",
" <td>-0.191160</td>\n",
" <td>-0.468980</td>\n",
" <td>0.158810</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.58036</td>\n",
" <td>-0.208590</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.367590</td>\n",
" </tr>\n",
" <tr>\n",
" <th>15</th>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.041329</td>\n",
" <td>0.333750</td>\n",
" <td>-0.512240</td>\n",
" <td>-1.000000</td>\n",
" <td>0.047760</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.21769</td>\n",
" <td>-0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.580360</td>\n",
" </tr>\n",
" <tr>\n",
" <th>16</th>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.054223</td>\n",
" <td>0.305130</td>\n",
" <td>-0.318920</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.143600</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.16663</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.58036</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>17</th>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.047760</td>\n",
" <td>0.182790</td>\n",
" <td>-0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.387370</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.13620</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.58036</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>18</th>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.387370</td>\n",
" <td>-0.227100</td>\n",
" <td>-0.114660</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.31892</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.512240</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>19</th>\n",
" <td>-1.000000</td>\n",
" <td>-0.580360</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.436420</td>\n",
" <td>0.054223</td>\n",
" <td>-0.468980</td>\n",
" <td>-0.136200</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.58036</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.512240</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>20</th>\n",
" <td>-1.000000</td>\n",
" <td>-0.512240</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.080487</td>\n",
" <td>0.580360</td>\n",
" <td>-0.512240</td>\n",
" <td>-0.080487</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.51224</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.409930</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>21</th>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.114660</td>\n",
" <td>0.580360</td>\n",
" <td>-0.436420</td>\n",
" <td>-0.143600</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.51224</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.409930</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.58036</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>22</th>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.166630</td>\n",
" <td>0.580360</td>\n",
" <td>-0.318920</td>\n",
" <td>0.107670</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.51224</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.387370</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.58036</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>23</th>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.121740</td>\n",
" <td>0.580360</td>\n",
" <td>0.003165</td>\n",
" <td>0.367590</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.43642</td>\n",
" <td>-0.468980</td>\n",
" <td>-0.387370</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.40993</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>24</th>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.034925</td>\n",
" <td>0.580360</td>\n",
" <td>0.367590</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.43642</td>\n",
" <td>-0.512240</td>\n",
" <td>-0.349870</td>\n",
" <td>0.580360</td>\n",
" <td>-0.580360</td>\n",
" <td>-0.19975</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>25</th>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-0.468980</td>\n",
" <td>-0.257470</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.40993</td>\n",
" <td>-0.436420</td>\n",
" <td>-0.387370</td>\n",
" <td>0.580360</td>\n",
" <td>-0.468980</td>\n",
" <td>0.43642</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>26</th>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-0.349870</td>\n",
" <td>-0.367590</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.121740</td>\n",
" <td>0.40993</td>\n",
" <td>-0.268470</td>\n",
" <td>-0.409930</td>\n",
" <td>0.580360</td>\n",
" <td>-0.409930</td>\n",
" <td>0.51224</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>27</th>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-0.199750</td>\n",
" <td>-0.468980</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" <td>0.38737</td>\n",
" <td>-0.136200</td>\n",
" <td>-0.436420</td>\n",
" <td>0.580360</td>\n",
" <td>-0.305130</td>\n",
" <td>0.40993</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>28</th>\n",
" <td>-0.333750</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-0.166630</td>\n",
" <td>-0.409930</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.580360</td>\n",
" <td>0.43642</td>\n",
" <td>0.054223</td>\n",
" <td>-0.468980</td>\n",
" <td>0.580360</td>\n",
" <td>-0.080487</td>\n",
" <td>0.58036</td>\n",
" <td>-0.468980</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>29</th>\n",
" <td>-0.174620</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-0.067262</td>\n",
" <td>-0.246940</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.512240</td>\n",
" <td>-0.367590</td>\n",
" <td>0.468980</td>\n",
" <td>0.46898</td>\n",
" <td>0.292210</td>\n",
" <td>-0.436420</td>\n",
" <td>0.136200</td>\n",
" <td>-0.041329</td>\n",
" <td>0.58036</td>\n",
" <td>-0.166630</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>30</th>\n",
" <td>0.268470</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-0.034925</td>\n",
" <td>0.080487</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.100770</td>\n",
" <td>0.436420</td>\n",
" <td>-1.000000</td>\n",
" <td>0.51224</td>\n",
" <td>0.387370</td>\n",
" <td>-0.409930</td>\n",
" <td>0.217690</td>\n",
" <td>-0.028545</td>\n",
" <td>0.58036</td>\n",
" <td>-0.182790</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>31</th>\n",
" <td>0.333750</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>-0.009496</td>\n",
" <td>0.227100</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>0.093942</td>\n",
" <td>0.512240</td>\n",
" <td>0.121740</td>\n",
" <td>0.58036</td>\n",
" <td>0.580360</td>\n",
" <td>-0.318920</td>\n",
" <td>0.151140</td>\n",
" <td>-0.003165</td>\n",
" <td>0.58036</td>\n",
" <td>0.512240</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>32</th>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>0.022182</td>\n",
" <td>0.512240</td>\n",
" <td>0.512240</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>0.034925</td>\n",
" <td>0.512240</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.512240</td>\n",
" <td>-0.292210</td>\n",
" <td>0.060722</td>\n",
" <td>0.054223</td>\n",
" <td>0.58036</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>33</th>\n",
" <td>0.580360</td>\n",
" <td>-0.580360</td>\n",
" <td>-1.00000</td>\n",
" <td>0.028545</td>\n",
" <td>0.580360</td>\n",
" <td>0.512240</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.199750</td>\n",
" <td>0.409930</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.468980</td>\n",
" <td>-0.292210</td>\n",
" <td>-0.054223</td>\n",
" <td>0.409930</td>\n",
" <td>0.58036</td>\n",
" <td>0.512240</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>34</th>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.00000</td>\n",
" <td>0.028545</td>\n",
" <td>0.580360</td>\n",
" <td>0.436420</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.318920</td>\n",
" <td>0.349870</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.436420</td>\n",
" <td>-0.128920</td>\n",
" <td>-0.107670</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>35</th>\n",
" <td>0.580360</td>\n",
" <td>-0.305130</td>\n",
" <td>-1.00000</td>\n",
" <td>0.028545</td>\n",
" <td>0.580360</td>\n",
" <td>0.409930</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.468980</td>\n",
" <td>0.292210</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.387370</td>\n",
" <td>0.067262</td>\n",
" <td>-0.246940</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>36</th>\n",
" <td>0.580360</td>\n",
" <td>-0.333750</td>\n",
" <td>-1.00000</td>\n",
" <td>0.022182</td>\n",
" <td>0.580360</td>\n",
" <td>0.349870</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.580360</td>\n",
" <td>0.318920</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.305130</td>\n",
" <td>0.280020</td>\n",
" <td>-0.318920</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>37</th>\n",
" <td>0.580360</td>\n",
" <td>-0.280020</td>\n",
" <td>-1.00000</td>\n",
" <td>0.028545</td>\n",
" <td>0.580360</td>\n",
" <td>0.292210</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-1.000000</td>\n",
" <td>0.305130</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.512240</td>\n",
" <td>0.580360</td>\n",
" <td>-0.333750</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>38</th>\n",
" <td>0.580360</td>\n",
" <td>-0.227100</td>\n",
" <td>-1.00000</td>\n",
" <td>0.028545</td>\n",
" <td>0.580360</td>\n",
" <td>0.236830</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>-0.199750</td>\n",
" <td>0.409930</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.580360</td>\n",
" <td>0.468980</td>\n",
" <td>-0.367590</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>39</th>\n",
" <td>0.580360</td>\n",
" <td>-0.236830</td>\n",
" <td>-1.00000</td>\n",
" <td>0.034925</td>\n",
" <td>0.580360</td>\n",
" <td>0.191160</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" <td>0.143600</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.580360</td>\n",
" <td>0.580360</td>\n",
" <td>-0.349870</td>\n",
" <td>0.580360</td>\n",
" <td>0.58036</td>\n",
" <td>0.580360</td>\n",
" <td>-1.000000</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" 0 1 2 3 4 5 6 \\\n",
"0 0.580360 0.580360 0.58036 0.580360 -1.000000 0.367590 0.468980 \n",
"1 0.580360 0.580360 0.58036 0.580360 -1.000000 0.436420 0.191160 \n",
"2 0.580360 0.580360 0.58036 0.580360 -0.468980 0.512240 -0.100770 \n",
"3 0.580360 0.468980 0.58036 0.580360 -0.166630 0.436420 -0.333750 \n",
"4 0.580360 0.158810 0.58036 0.580360 0.246940 0.305130 -1.000000 \n",
"5 0.580360 0.468980 0.58036 0.580360 0.054223 0.409930 -1.000000 \n",
"6 0.512240 0.268470 0.58036 0.512240 -0.136200 0.257470 -1.000000 \n",
"7 0.333750 0.054223 0.40993 0.468980 -0.292210 0.136200 -1.000000 \n",
"8 0.041329 -0.100770 0.18279 0.318920 0.067262 0.067262 -0.580360 \n",
"9 -0.022182 -0.512240 0.04776 -0.009496 0.512240 -0.107670 -0.333750 \n",
"10 -0.246940 -0.436420 -0.10077 -0.028545 0.468980 -0.318920 -0.107670 \n",
"11 -0.436420 -0.436420 -0.23683 -0.292210 0.468980 -0.468980 -0.028545 \n",
"12 -0.580360 -1.000000 -0.43642 -0.387370 0.305130 -1.000000 -0.003165 \n",
"13 -1.000000 -1.000000 -0.36759 -1.000000 -0.227100 -1.000000 0.022182 \n",
"14 -1.000000 -1.000000 -0.33375 -1.000000 -0.580360 -1.000000 0.041329 \n",
"15 -1.000000 -1.000000 -1.00000 -1.000000 -1.000000 -1.000000 0.041329 \n",
"16 -1.000000 -1.000000 -1.00000 -1.000000 -1.000000 -1.000000 0.054223 \n",
"17 -1.000000 -1.000000 -1.00000 -1.000000 -1.000000 -1.000000 -0.047760 \n",
"18 -1.000000 -1.000000 -1.00000 -1.000000 -1.000000 -0.387370 -0.227100 \n",
"19 -1.000000 -0.580360 -1.00000 -1.000000 -0.436420 0.054223 -0.468980 \n",
"20 -1.000000 -0.512240 -1.00000 -1.000000 -0.080487 0.580360 -0.512240 \n",
"21 -1.000000 -1.000000 -1.00000 -1.000000 0.114660 0.580360 -0.436420 \n",
"22 -1.000000 -1.000000 -1.00000 -1.000000 0.166630 0.580360 -0.318920 \n",
"23 -1.000000 -1.000000 -1.00000 -1.000000 0.121740 0.580360 0.003165 \n",
"24 -1.000000 -1.000000 -1.00000 -1.000000 -0.034925 0.580360 0.367590 \n",
"25 -1.000000 -1.000000 -1.00000 -0.468980 -0.257470 0.580360 0.580360 \n",
"26 -1.000000 -1.000000 -1.00000 -0.349870 -0.367590 0.580360 0.580360 \n",
"27 -1.000000 -1.000000 -1.00000 -0.199750 -0.468980 0.580360 0.580360 \n",
"28 -0.333750 -1.000000 -1.00000 -0.166630 -0.409930 0.580360 0.580360 \n",
"29 -0.174620 -1.000000 -1.00000 -0.067262 -0.246940 0.580360 0.580360 \n",
"30 0.268470 -1.000000 -1.00000 -0.034925 0.080487 0.580360 0.580360 \n",
"31 0.333750 -1.000000 -1.00000 -0.009496 0.227100 0.580360 0.580360 \n",
"32 0.580360 -1.000000 -1.00000 0.022182 0.512240 0.512240 0.580360 \n",
"33 0.580360 -0.580360 -1.00000 0.028545 0.580360 0.512240 0.580360 \n",
"34 0.580360 -1.000000 -1.00000 0.028545 0.580360 0.436420 0.580360 \n",
"35 0.580360 -0.305130 -1.00000 0.028545 0.580360 0.409930 0.580360 \n",
"36 0.580360 -0.333750 -1.00000 0.022182 0.580360 0.349870 0.580360 \n",
"37 0.580360 -0.280020 -1.00000 0.028545 0.580360 0.292210 0.580360 \n",
"38 0.580360 -0.227100 -1.00000 0.028545 0.580360 0.236830 0.580360 \n",
"39 0.580360 -0.236830 -1.00000 0.034925 0.580360 0.191160 0.580360 \n",
"\n",
" 7 8 9 10 11 12 13 \\\n",
"0 0.580360 0.580360 0.067262 -0.143600 0.227100 -1.00000 0.580360 \n",
"1 0.318920 0.580360 0.067262 -0.136200 0.208590 -1.00000 0.580360 \n",
"2 -0.015834 0.580360 0.512240 0.158810 0.015834 -1.00000 0.580360 \n",
"3 -1.000000 0.580360 0.580360 0.580360 -0.047760 -1.00000 0.580360 \n",
"4 -0.191160 0.580360 0.580360 0.580360 -0.217690 -1.00000 0.580360 \n",
"5 -0.121740 0.580360 0.580360 0.580360 -0.199750 -1.00000 0.580360 \n",
"6 0.436420 0.580360 0.580360 0.580360 -0.349870 -1.00000 0.580360 \n",
"7 0.468980 0.580360 0.580360 0.580360 -0.409930 -1.00000 0.580360 \n",
"8 0.468980 0.580360 0.580360 0.580360 -0.580360 -1.00000 0.580360 \n",
"9 0.107670 0.580360 0.512240 0.512240 -0.580360 -1.00000 0.580360 \n",
"10 -0.580360 0.580360 0.292210 0.174620 -1.000000 -1.00000 0.512240 \n",
"11 -1.000000 0.580360 -0.199750 -0.305130 -1.000000 -1.00000 0.512240 \n",
"12 -0.143600 0.087183 -0.143600 -0.022182 -1.000000 -1.00000 0.174620 \n",
"13 0.166630 0.280020 -0.257470 0.208590 -1.000000 -1.00000 0.009496 \n",
"14 0.305130 -0.191160 -0.468980 0.158810 -1.000000 -0.58036 -0.208590 \n",
"15 0.333750 -0.512240 -1.000000 0.047760 -1.000000 -0.21769 -0.580360 \n",
"16 0.305130 -0.318920 -1.000000 -0.143600 -1.000000 -0.16663 -1.000000 \n",
"17 0.182790 -0.580360 -1.000000 -0.387370 -1.000000 -0.13620 -1.000000 \n",
"18 -0.114660 -1.000000 -1.000000 -1.000000 -1.000000 0.31892 -1.000000 \n",
"19 -0.136200 -1.000000 -1.000000 -1.000000 -1.000000 0.58036 -1.000000 \n",
"20 -0.080487 -1.000000 -1.000000 -1.000000 -1.000000 0.51224 -1.000000 \n",
"21 -0.143600 -1.000000 -1.000000 -1.000000 -1.000000 0.51224 -1.000000 \n",
"22 0.107670 -1.000000 -1.000000 -1.000000 -1.000000 0.51224 -1.000000 \n",
"23 0.367590 -1.000000 -1.000000 -1.000000 -1.000000 0.43642 -0.468980 \n",
"24 0.580360 -1.000000 -1.000000 -1.000000 -1.000000 0.43642 -0.512240 \n",
"25 0.580360 -1.000000 -1.000000 -1.000000 -1.000000 0.40993 -0.436420 \n",
"26 0.580360 -1.000000 -1.000000 -1.000000 0.121740 0.40993 -0.268470 \n",
"27 0.580360 -1.000000 -1.000000 -1.000000 0.580360 0.38737 -0.136200 \n",
"28 0.580360 -1.000000 -1.000000 -1.000000 0.580360 0.43642 0.054223 \n",
"29 0.580360 -1.000000 -0.512240 -0.367590 0.468980 0.46898 0.292210 \n",
"30 0.580360 -1.000000 -0.100770 0.436420 -1.000000 0.51224 0.387370 \n",
"31 0.580360 -1.000000 0.093942 0.512240 0.121740 0.58036 0.580360 \n",
"32 0.580360 -1.000000 0.034925 0.512240 0.580360 0.58036 0.512240 \n",
"33 0.580360 -1.000000 -0.199750 0.409930 0.580360 0.58036 0.468980 \n",
"34 0.580360 -1.000000 -0.318920 0.349870 0.580360 0.58036 0.436420 \n",
"35 0.580360 -1.000000 -0.468980 0.292210 0.580360 0.58036 0.387370 \n",
"36 0.580360 -1.000000 -0.580360 0.318920 0.580360 0.58036 0.305130 \n",
"37 0.580360 -1.000000 -1.000000 0.305130 0.580360 0.58036 0.512240 \n",
"38 0.580360 -1.000000 -0.199750 0.409930 0.580360 0.58036 0.580360 \n",
"39 0.580360 -1.000000 0.143600 0.580360 0.580360 0.58036 0.580360 \n",
"\n",
" 14 15 16 17 18 19 \n",
"0 0.580360 -1.000000 0.580360 0.58036 0.580360 0.512240 \n",
"1 0.580360 -1.000000 0.580360 0.33375 0.580360 0.512240 \n",
"2 0.580360 -1.000000 0.580360 0.29221 0.580360 0.580360 \n",
"3 0.580360 -1.000000 0.580360 -0.14360 0.512240 0.580360 \n",
"4 0.580360 -0.580360 0.580360 -0.16663 0.387370 0.580360 \n",
"5 0.387370 -0.268470 0.580360 -0.10077 0.280020 0.580360 \n",
"6 0.034925 -0.166630 0.034925 -0.58036 -0.080487 0.580360 \n",
"7 -0.409930 0.054223 -0.318920 -1.00000 0.060722 0.580360 \n",
"8 -1.000000 0.257470 -1.000000 -1.00000 -0.367590 0.580360 \n",
"9 -1.000000 0.468980 -1.000000 -1.00000 -0.580360 0.580360 \n",
"10 -1.000000 0.580360 -1.000000 -1.00000 -1.000000 0.580360 \n",
"11 -1.000000 0.580360 -1.000000 -1.00000 -1.000000 0.580360 \n",
"12 -1.000000 0.580360 -1.000000 -1.00000 -1.000000 0.047760 \n",
"13 -1.000000 0.580360 -1.000000 -1.00000 -1.000000 -0.028545 \n",
"14 -1.000000 0.580360 -1.000000 -1.00000 -1.000000 -0.367590 \n",
"15 -1.000000 0.580360 -1.000000 -1.00000 -1.000000 -0.580360 \n",
"16 -1.000000 0.580360 -1.000000 -0.58036 -1.000000 -1.000000 \n",
"17 -1.000000 0.580360 -1.000000 -0.58036 -1.000000 -1.000000 \n",
"18 -0.512240 0.580360 -1.000000 -1.00000 -1.000000 -1.000000 \n",
"19 -0.512240 0.580360 -1.000000 -1.00000 -1.000000 -1.000000 \n",
"20 -0.409930 0.580360 -1.000000 -1.00000 -1.000000 -1.000000 \n",
"21 -0.409930 0.580360 -1.000000 -0.58036 -1.000000 -1.000000 \n",
"22 -0.387370 0.580360 -1.000000 -0.58036 -1.000000 -1.000000 \n",
"23 -0.387370 0.580360 -1.000000 -0.40993 -1.000000 -1.000000 \n",
"24 -0.349870 0.580360 -0.580360 -0.19975 -1.000000 -1.000000 \n",
"25 -0.387370 0.580360 -0.468980 0.43642 -1.000000 -1.000000 \n",
"26 -0.409930 0.580360 -0.409930 0.51224 -1.000000 -1.000000 \n",
"27 -0.436420 0.580360 -0.305130 0.40993 -1.000000 -1.000000 \n",
"28 -0.468980 0.580360 -0.080487 0.58036 -0.468980 -1.000000 \n",
"29 -0.436420 0.136200 -0.041329 0.58036 -0.166630 -1.000000 \n",
"30 -0.409930 0.217690 -0.028545 0.58036 -0.182790 -1.000000 \n",
"31 -0.318920 0.151140 -0.003165 0.58036 0.512240 -1.000000 \n",
"32 -0.292210 0.060722 0.054223 0.58036 0.580360 -1.000000 \n",
"33 -0.292210 -0.054223 0.409930 0.58036 0.512240 -1.000000 \n",
"34 -0.128920 -0.107670 0.580360 0.58036 0.580360 -1.000000 \n",
"35 0.067262 -0.246940 0.580360 0.58036 0.580360 -1.000000 \n",
"36 0.280020 -0.318920 0.580360 0.58036 0.580360 -1.000000 \n",
"37 0.580360 -0.333750 0.580360 0.58036 0.580360 -1.000000 \n",
"38 0.468980 -0.367590 0.580360 0.58036 0.580360 -1.000000 \n",
"39 0.580360 -0.349870 0.580360 0.58036 0.580360 -1.000000 "
]
},
"execution_count": 12,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df = discretizeDfs[(coord,csv)]\n",
"df = df.apply(lambda x: x.astype(float))\n",
"print(df.shape)\n",
"df\n"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.axes._subplots.AxesSubplot at 0x7feaa9a935f8>"
]
},
"execution_count": 13,
"metadata": {},
"output_type": "execute_result"
},
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAWgAAAD8CAYAAABaZT40AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAAIABJREFUeJzt3X+4VWWd9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DpoEZGCUgctIlJQ/x8zqHORqdHwfwAAAABJRU5ErkJggg==\n",
"text/plain": [
"<Figure size 432x288 with 2 Axes>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"sns.heatmap(df, annot=False, cmap='Greys', vmin=-1.0, vmax=1.0)"
]
},
{
"cell_type": "code",
"execution_count": 19,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>0</th>\n",
" <th>1</th>\n",
" <th>2</th>\n",
" <th>3</th>\n",
" <th>4</th>\n",
" <th>5</th>\n",
" <th>6</th>\n",
" <th>7</th>\n",
" <th>8</th>\n",
" <th>9</th>\n",
" <th>10</th>\n",
" <th>11</th>\n",
" <th>12</th>\n",
" <th>13</th>\n",
" <th>14</th>\n",
" <th>15</th>\n",
" <th>16</th>\n",
" <th>17</th>\n",
" <th>18</th>\n",
" <th>19</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>(0.51224, 0.33375, 0.04133)</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>(-0.43642, -0.36759, -0.33375)</td>\n",
" <td>(-0.19975, -0.16663, -0.06726)</td>\n",
" <td>(-0.16663, 0.24694, 0.05422)</td>\n",
" <td>(0.58036, 0.58036, 0.51224)</td>\n",
" <td>(-0.43642, -0.31892, 0.00316)</td>\n",
" <td>(-0.14360, 0.16663, 0.30513)</td>\n",
" <td>(0.08718, 0.28002, -0.19116)</td>\n",
" <td>(0.06726, 0.06726, 0.51224)</td>\n",
" <td>(-0.02218, 0.20859, 0.15881)</td>\n",
" <td>(0.58036, 0.58036, 0.46898)</td>\n",
" <td>(0.51224, 0.58036, 0.58036)</td>\n",
" <td>(-0.51224, -0.43642, -0.26847)</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>(-0.05422, -0.10767, -0.24694)</td>\n",
" <td>(-0.30513, -0.08049, -0.04133)</td>\n",
" <td>(0.58036, 0.33375, 0.29221)</td>\n",
" <td>(0.51224, 0.58036, 0.58036)</td>\n",
" <td>(0.04776, -0.02855, -0.36759)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>(0.26847, 0.33375, 0.58036)</td>\n",
" <td>(-0.51224, -0.43642, -0.43642)</td>\n",
" <td>(0.04776, -0.10077, -0.23683)</td>\n",
" <td>(-0.38737, -1.00000, -1.00000)</td>\n",
" <td>(0.08049, 0.22710, 0.51224)</td>\n",
" <td>(0.25747, 0.13620, 0.06726)</td>\n",
" <td>(-1.00000, -1.00000, -0.58036)</td>\n",
" <td>(-0.11466, -0.13620, -0.08049)</td>\n",
" <td>(-0.51224, -0.31892, -0.58036)</td>\n",
" <td>(0.51224, 0.29221, -0.19975)</td>\n",
" <td>(0.43642, 0.51224, 0.51224)</td>\n",
" <td>(-1.00000, 0.12174, 0.58036)</td>\n",
" <td>(0.43642, 0.40993, 0.40993)</td>\n",
" <td>(0.38737, 0.58036, 0.51224)</td>\n",
" <td>(0.28002, 0.58036, 0.46898)</td>\n",
" <td>(0.21769, 0.15114, 0.06072)</td>\n",
" <td>(0.03492, -0.31892, -1.00000)</td>\n",
" <td>(0.40993, 0.58036, 0.58036)</td>\n",
" <td>(-0.18279, 0.51224, 0.58036)</td>\n",
" <td>(-0.58036, -1.00000, -1.00000)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>(-0.58036, -1.00000, -1.00000)</td>\n",
" <td>(0.46898, 0.15881, 0.46898)</td>\n",
" <td>(0.58036, 0.40993, 0.18279)</td>\n",
" <td>(0.51224, 0.46898, 0.31892)</td>\n",
" <td>(-0.13620, -0.29221, 0.06726)</td>\n",
" <td>(0.34987, 0.29221, 0.23683)</td>\n",
" <td>(-0.22710, -0.46898, -0.51224)</td>\n",
" <td>(-0.14360, 0.10767, 0.36759)</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>(-1.00000, -1.00000, -0.51224)</td>\n",
" <td>(0.31892, 0.30513, 0.40993)</td>\n",
" <td>(-0.34987, -0.40993, -0.58036)</td>\n",
" <td>(-0.21769, -0.16663, -0.13620)</td>\n",
" <td>(-0.58036, -1.00000, -1.00000)</td>\n",
" <td>(-0.43642, -0.46898, -0.43642)</td>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" <td>(-0.02855, -0.00316, 0.05422)</td>\n",
" <td>(-0.14360, -0.16663, -0.10077)</td>\n",
" <td>(0.51224, 0.38737, 0.28002)</td>\n",
" <td>(0.51224, 0.51224, 0.58036)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>(-1.00000, -0.33375, -0.17462)</td>\n",
" <td>(0.26847, 0.05422, -0.10077)</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>(0.02218, 0.02855, 0.02855)</td>\n",
" <td>(0.51224, 0.46898, 0.46898)</td>\n",
" <td>(0.36759, 0.43642, 0.51224)</td>\n",
" <td>(-0.33375, -0.10767, -0.02855)</td>\n",
" <td>(0.58036, 0.31892, -0.01583)</td>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" <td>(-0.10077, 0.09394, 0.03492)</td>\n",
" <td>(-1.00000, -1.00000, -0.36759)</td>\n",
" <td>(0.22710, 0.20859, 0.01583)</td>\n",
" <td>(0.38737, 0.43642, 0.46898)</td>\n",
" <td>(0.17462, 0.00950, -0.20859)</td>\n",
" <td>(0.03492, -0.40993, -1.00000)</td>\n",
" <td>(0.58036, 0.58036, 0.13620)</td>\n",
" <td>(0.40993, 0.58036, 0.58036)</td>\n",
" <td>(-1.00000, -0.58036, -0.58036)</td>\n",
" <td>(-0.08049, 0.06072, -0.36759)</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>(-0.02218, -0.24694, -0.43642)</td>\n",
" <td>(-1.00000, -0.58036, -0.51224)</td>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" <td>(0.02855, 0.02855, 0.02855)</td>\n",
" <td>(-1.00000, -1.00000, -0.46898)</td>\n",
" <td>(-0.10767, -0.31892, -0.46898)</td>\n",
" <td>(0.46898, 0.19116, -0.10077)</td>\n",
" <td>(0.33375, 0.30513, 0.18279)</td>\n",
" <td>None</td>\n",
" <td>(-0.14360, -0.25747, -0.46898)</td>\n",
" <td>(0.51224, 0.17462, -0.30513)</td>\n",
" <td>(-0.04776, -0.21769, -0.19975)</td>\n",
" <td>(0.51224, 0.51224, 0.43642)</td>\n",
" <td>(-1.00000, -1.00000, -0.46898)</td>\n",
" <td>(-0.40993, -0.31892, -0.29221)</td>\n",
" <td>(-1.00000, -0.58036, -0.26847)</td>\n",
" <td>(-0.58036, -0.46898, -0.40993)</td>\n",
" <td>(-0.19975, 0.43642, 0.51224)</td>\n",
" <td>(-1.00000, -0.46898, -0.16663)</td>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>(-0.58036, -1.00000, -0.30513)</td>\n",
" <td>None</td>\n",
" <td>(-1.00000, -0.46898, -0.34987)</td>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" <td>(0.51224, 0.43642, 0.40993)</td>\n",
" <td>(0.36759, 0.58036, 0.58036)</td>\n",
" <td>(0.10767, -0.58036, -1.00000)</td>\n",
" <td>None</td>\n",
" <td>(-0.58036, -1.00000, -0.19975)</td>\n",
" <td>(-0.14360, -0.13620, 0.15881)</td>\n",
" <td>(-1.00000, -1.00000, 0.12174)</td>\n",
" <td>(0.31892, 0.58036, 0.51224)</td>\n",
" <td>(-0.13620, 0.05422, 0.29221)</td>\n",
" <td>(-0.34987, -0.38737, -0.40993)</td>\n",
" <td>(-0.31892, -0.33375, -0.36759)</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>(-0.58036, -0.58036, -0.40993)</td>\n",
" <td>(-0.58036, -1.00000, -1.00000)</td>\n",
" <td>None</td>\n",
" </tr>\n",
" <tr>\n",
" <th>6</th>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" <td>(-0.33375, -0.28002, -0.22710)</td>\n",
" <td>None</td>\n",
" <td>(-0.00950, -0.02855, -0.29221)</td>\n",
" <td>(-0.03492, -0.25747, -0.36759)</td>\n",
" <td>(-0.38737, 0.05422, 0.58036)</td>\n",
" <td>(-0.33375, -1.00000, -1.00000)</td>\n",
" <td>(0.43642, 0.46898, 0.46898)</td>\n",
" <td>None</td>\n",
" <td>(-0.19975, -0.31892, -0.46898)</td>\n",
" <td>(0.40993, 0.34987, 0.29221)</td>\n",
" <td>(-0.58036, -1.00000, -1.00000)</td>\n",
" <td>(-1.00000, -1.00000, -0.58036)</td>\n",
" <td>(0.46898, 0.43642, 0.38737)</td>\n",
" <td>(-0.29221, -0.12892, 0.06726)</td>\n",
" <td>(-0.16663, 0.05422, 0.25747)</td>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" <td>(-0.58036, -1.00000, -1.00000)</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>None</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>None</td>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" <td>None</td>\n",
" <td>(-0.03492, -0.00950, 0.02218)</td>\n",
" <td>(0.11466, 0.16663, 0.12174)</td>\n",
" <td>(0.43642, 0.30513, 0.40993)</td>\n",
" <td>(0.04133, 0.05422, -0.04776)</td>\n",
" <td>(-1.00000, -0.19116, -0.12174)</td>\n",
" <td>None</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>(0.04776, -0.14360, -0.38737)</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>(0.58036, 0.51224, 0.51224)</td>\n",
" <td>(-0.51224, -0.51224, -0.40993)</td>\n",
" <td>(0.46898, 0.58036, 0.58036)</td>\n",
" <td>None</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" <td>None</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>None</td>\n",
" <td>None</td>\n",
" <td>None</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>(-1.00000, -0.43642, -0.08049)</td>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" <td>(-0.00316, 0.02218, 0.04133)</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>None</td>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" <td>(-0.40993, -0.38737, -0.38737)</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>None</td>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" <td>None</td>\n",
" <td>None</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9</th>\n",
" <td>None</td>\n",
" <td>None</td>\n",
" <td>None</td>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>None</td>\n",
" <td>None</td>\n",
" <td>None</td>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" <td>None</td>\n",
" <td>None</td>\n",
" <td>(0.58036, 0.58036, 0.58036)</td>\n",
" <td>(-1.00000, -1.00000, -1.00000)</td>\n",
" <td>None</td>\n",
" <td>None</td>\n",
" <td>None</td>\n",
" <td>None</td>\n",
" <td>None</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" 0 1 \\\n",
"0 (0.51224, 0.33375, 0.04133) (0.58036, 0.58036, 0.58036) \n",
"1 (0.26847, 0.33375, 0.58036) (-0.51224, -0.43642, -0.43642) \n",
"2 (-0.58036, -1.00000, -1.00000) (0.46898, 0.15881, 0.46898) \n",
"3 (-1.00000, -0.33375, -0.17462) (0.26847, 0.05422, -0.10077) \n",
"4 (-0.02218, -0.24694, -0.43642) (-1.00000, -0.58036, -0.51224) \n",
"5 (0.58036, 0.58036, 0.58036) (-0.58036, -1.00000, -0.30513) \n",
"6 (-1.00000, -1.00000, -1.00000) (-0.33375, -0.28002, -0.22710) \n",
"7 None (-1.00000, -1.00000, -1.00000) \n",
"8 None None \n",
"9 None None \n",
"\n",
" 2 3 \\\n",
"0 (-0.43642, -0.36759, -0.33375) (-0.19975, -0.16663, -0.06726) \n",
"1 (0.04776, -0.10077, -0.23683) (-0.38737, -1.00000, -1.00000) \n",
"2 (0.58036, 0.40993, 0.18279) (0.51224, 0.46898, 0.31892) \n",
"3 (0.58036, 0.58036, 0.58036) (0.02218, 0.02855, 0.02855) \n",
"4 (-1.00000, -1.00000, -1.00000) (0.02855, 0.02855, 0.02855) \n",
"5 None (-1.00000, -0.46898, -0.34987) \n",
"6 None (-0.00950, -0.02855, -0.29221) \n",
"7 None (-0.03492, -0.00950, 0.02218) \n",
"8 None (0.58036, 0.58036, 0.58036) \n",
"9 None (-1.00000, -1.00000, -1.00000) \n",
"\n",
" 4 5 \\\n",
"0 (-0.16663, 0.24694, 0.05422) (0.58036, 0.58036, 0.51224) \n",
"1 (0.08049, 0.22710, 0.51224) (0.25747, 0.13620, 0.06726) \n",
"2 (-0.13620, -0.29221, 0.06726) (0.34987, 0.29221, 0.23683) \n",
"3 (0.51224, 0.46898, 0.46898) (0.36759, 0.43642, 0.51224) \n",
"4 (-1.00000, -1.00000, -0.46898) (-0.10767, -0.31892, -0.46898) \n",
"5 (-1.00000, -1.00000, -1.00000) (0.51224, 0.43642, 0.40993) \n",
"6 (-0.03492, -0.25747, -0.36759) (-0.38737, 0.05422, 0.58036) \n",
"7 (0.11466, 0.16663, 0.12174) (0.43642, 0.30513, 0.40993) \n",
"8 (-1.00000, -0.43642, -0.08049) (-1.00000, -1.00000, -1.00000) \n",
"9 (0.58036, 0.58036, 0.58036) (0.58036, 0.58036, 0.58036) \n",
"\n",
" 6 7 \\\n",
"0 (-0.43642, -0.31892, 0.00316) (-0.14360, 0.16663, 0.30513) \n",
"1 (-1.00000, -1.00000, -0.58036) (-0.11466, -0.13620, -0.08049) \n",
"2 (-0.22710, -0.46898, -0.51224) (-0.14360, 0.10767, 0.36759) \n",
"3 (-0.33375, -0.10767, -0.02855) (0.58036, 0.31892, -0.01583) \n",
"4 (0.46898, 0.19116, -0.10077) (0.33375, 0.30513, 0.18279) \n",
"5 (0.36759, 0.58036, 0.58036) (0.10767, -0.58036, -1.00000) \n",
"6 (-0.33375, -1.00000, -1.00000) (0.43642, 0.46898, 0.46898) \n",
"7 (0.04133, 0.05422, -0.04776) (-1.00000, -0.19116, -0.12174) \n",
"8 (-0.00316, 0.02218, 0.04133) (0.58036, 0.58036, 0.58036) \n",
"9 (0.58036, 0.58036, 0.58036) None \n",
"\n",
" 8 9 \\\n",
"0 (0.08718, 0.28002, -0.19116) (0.06726, 0.06726, 0.51224) \n",
"1 (-0.51224, -0.31892, -0.58036) (0.51224, 0.29221, -0.19975) \n",
"2 (0.58036, 0.58036, 0.58036) (-1.00000, -1.00000, -0.51224) \n",
"3 (-1.00000, -1.00000, -1.00000) (-0.10077, 0.09394, 0.03492) \n",
"4 None (-0.14360, -0.25747, -0.46898) \n",
"5 None (-0.58036, -1.00000, -0.19975) \n",
"6 None (-0.19975, -0.31892, -0.46898) \n",
"7 None (0.58036, 0.58036, 0.58036) \n",
"8 None (-1.00000, -1.00000, -1.00000) \n",
"9 None None \n",
"\n",
" 10 11 \\\n",
"0 (-0.02218, 0.20859, 0.15881) (0.58036, 0.58036, 0.46898) \n",
"1 (0.43642, 0.51224, 0.51224) (-1.00000, 0.12174, 0.58036) \n",
"2 (0.31892, 0.30513, 0.40993) (-0.34987, -0.40993, -0.58036) \n",
"3 (-1.00000, -1.00000, -0.36759) (0.22710, 0.20859, 0.01583) \n",
"4 (0.51224, 0.17462, -0.30513) (-0.04776, -0.21769, -0.19975) \n",
"5 (-0.14360, -0.13620, 0.15881) (-1.00000, -1.00000, 0.12174) \n",
"6 (0.40993, 0.34987, 0.29221) (-0.58036, -1.00000, -1.00000) \n",
"7 (0.04776, -0.14360, -0.38737) (0.58036, 0.58036, 0.58036) \n",
"8 (0.58036, 0.58036, 0.58036) (-1.00000, -1.00000, -1.00000) \n",
"9 (-1.00000, -1.00000, -1.00000) None \n",
"\n",
" 12 13 \\\n",
"0 (0.51224, 0.58036, 0.58036) (-0.51224, -0.43642, -0.26847) \n",
"1 (0.43642, 0.40993, 0.40993) (0.38737, 0.58036, 0.51224) \n",
"2 (-0.21769, -0.16663, -0.13620) (-0.58036, -1.00000, -1.00000) \n",
"3 (0.38737, 0.43642, 0.46898) (0.17462, 0.00950, -0.20859) \n",
"4 (0.51224, 0.51224, 0.43642) (-1.00000, -1.00000, -0.46898) \n",
"5 (0.31892, 0.58036, 0.51224) (-0.13620, 0.05422, 0.29221) \n",
"6 (-1.00000, -1.00000, -0.58036) (0.46898, 0.43642, 0.38737) \n",
"7 (0.58036, 0.58036, 0.58036) (0.58036, 0.51224, 0.51224) \n",
"8 (-1.00000, -1.00000, -1.00000) (-1.00000, -1.00000, -1.00000) \n",
"9 None (0.58036, 0.58036, 0.58036) \n",
"\n",
" 14 15 \\\n",
"0 (0.58036, 0.58036, 0.58036) (-0.05422, -0.10767, -0.24694) \n",
"1 (0.28002, 0.58036, 0.46898) (0.21769, 0.15114, 0.06072) \n",
"2 (-0.43642, -0.46898, -0.43642) (-1.00000, -1.00000, -1.00000) \n",
"3 (0.03492, -0.40993, -1.00000) (0.58036, 0.58036, 0.13620) \n",
"4 (-0.40993, -0.31892, -0.29221) (-1.00000, -0.58036, -0.26847) \n",
"5 (-0.34987, -0.38737, -0.40993) (-0.31892, -0.33375, -0.36759) \n",
"6 (-0.29221, -0.12892, 0.06726) (-0.16663, 0.05422, 0.25747) \n",
"7 (-0.51224, -0.51224, -0.40993) (0.46898, 0.58036, 0.58036) \n",
"8 (-0.40993, -0.38737, -0.38737) (0.58036, 0.58036, 0.58036) \n",
"9 (-1.00000, -1.00000, -1.00000) None \n",
"\n",
" 16 17 \\\n",
"0 (-0.30513, -0.08049, -0.04133) (0.58036, 0.33375, 0.29221) \n",
"1 (0.03492, -0.31892, -1.00000) (0.40993, 0.58036, 0.58036) \n",
"2 (-0.02855, -0.00316, 0.05422) (-0.14360, -0.16663, -0.10077) \n",
"3 (0.40993, 0.58036, 0.58036) (-1.00000, -0.58036, -0.58036) \n",
"4 (-0.58036, -0.46898, -0.40993) (-0.19975, 0.43642, 0.51224) \n",
"5 (0.58036, 0.58036, 0.58036) (-0.58036, -0.58036, -0.40993) \n",
"6 (-1.00000, -1.00000, -1.00000) (-0.58036, -1.00000, -1.00000) \n",
"7 None (0.58036, 0.58036, 0.58036) \n",
"8 None (-1.00000, -1.00000, -1.00000) \n",
"9 None None \n",
"\n",
" 18 19 \n",
"0 (0.51224, 0.58036, 0.58036) (0.04776, -0.02855, -0.36759) \n",
"1 (-0.18279, 0.51224, 0.58036) (-0.58036, -1.00000, -1.00000) \n",
"2 (0.51224, 0.38737, 0.28002) (0.51224, 0.51224, 0.58036) \n",
"3 (-0.08049, 0.06072, -0.36759) (0.58036, 0.58036, 0.58036) \n",
"4 (-1.00000, -0.46898, -0.16663) (-1.00000, -1.00000, -1.00000) \n",
"5 (-0.58036, -1.00000, -1.00000) None \n",
"6 (0.58036, 0.58036, 0.58036) None \n",
"7 (-1.00000, -1.00000, -1.00000) None \n",
"8 None None \n",
"9 None None "
]
},
"execution_count": 19,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"dfs[(coord, csv)]\n"
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"0 0.580360\n",
"1 0.580360\n",
"2 0.580360\n",
"3 0.580360\n",
"4 0.580360\n",
"5 0.580360\n",
"6 0.512240\n",
"7 0.333750\n",
"8 0.041329\n",
"9 -0.022182\n",
"10 -0.246940\n",
"11 -0.436420\n",
"12 -0.580360\n",
"13 -1.000000\n",
"14 -1.000000\n",
"15 -1.000000\n",
"16 -1.000000\n",
"17 -1.000000\n",
"18 -1.000000\n",
"19 -1.000000\n",
"20 -1.000000\n",
"21 -1.000000\n",
"22 -1.000000\n",
"23 -1.000000\n",
"24 -1.000000\n",
"25 -1.000000\n",
"26 -1.000000\n",
"27 -1.000000\n",
"28 -0.333750\n",
"29 -0.174620\n",
"30 0.268470\n",
"31 0.333750\n",
"32 0.580360\n",
"33 0.580360\n",
"34 0.580360\n",
"35 0.580360\n",
"36 0.580360\n",
"37 0.580360\n",
"38 0.580360\n",
"39 0.580360\n",
"Name: 0, dtype: float64"
]
},
"execution_count": 21,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df[0]"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# TODO:\n",
"# Cambiare il punto 1.1 da serie monovariata a gesto (vedi text_freq, extract_words, etc)\n",
"# Stampare heatmap per 1.2 (no colorare ma heatmap separate)\n",
"# Cambiare da classe di gesti (insieme di 31 csv) a gesti (singoli csv)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.5"
}
},
"nbformat": 4,
"nbformat_minor": 2
}