removing region column from GA reports
This commit is contained in:
@@ -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
Reference in New Issue
Block a user