removing region column from GA reports

This commit is contained in:
frankknoll
2023-03-26 18:02:09 +02:00
parent f9a9d05d64
commit 66b0c68767
3 changed files with 3824 additions and 3825 deletions

View File

@@ -31,9 +31,10 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"def readExploration(csvFile, indexName):\n", "def readExploration(csvFile, indexName):\n",
" exploration = pd.read_csv(csvFile, header=[0, 1], index_col=0, skiprows=6)\n", " exploration = pd.read_csv(csvFile, header=[0], index_col=0, skiprows=6, on_bad_lines='warn')\n",
" exploration.drop(index=indexName, inplace=True)\n", " exploration.drop(index=indexName, inplace=True)\n",
" exploration.index.rename(indexName, inplace=True)\n", " exploration.index.rename(indexName, inplace=True)\n",
" exploration.drop(columns='Totals', inplace=True)\n",
" return exploration" " return exploration"
] ]
}, },

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff