Skip to content

Commit 68b6d21

Browse files
authored
Merge pull request #11 from veghdev/paths
Fixed: drop title column from paths stat
2 parents 6cb9ba1 + 0b29c1b commit 68b6d21

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "write-githubstat"
77
packages = [
88
{ include = "writegithubstat", from = "src" },
99
]
10-
version = "0.1.2"
10+
version = "0.1.3"
1111
readme = "README.md"
1212
description = "write-githubstat makes it easy to collect, filter and save github statistics to csv files."
1313
license = "Apache 2.0"

Diff for: src/writegithubstat/githubstat.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def urls(self) -> List[str]:
9191

9292
@property
9393
def dimensions(self) -> List[str]:
94-
return ["path", "title"]
94+
return ["path"]
9595

9696
@property
9797
def measures(self) -> List[str]:
@@ -100,6 +100,7 @@ def measures(self) -> List[str]:
100100
def process_stat(self, responses: List[Dict[str, Any]]) -> pd.DataFrame:
101101
data = responses[0]
102102
df = pd.DataFrame(data)
103+
df = df.drop("title", axis=1)
103104
return df
104105

105106

0 commit comments

Comments
 (0)