We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ed60671 + 8e14ae1 commit 4dc3a88Copy full SHA for 4dc3a88
pyproject.toml
@@ -7,7 +7,7 @@ name = "write-githubstat"
7
packages = [
8
{ include = "writegithubstat", from = "src" },
9
]
10
-version = "0.2.0"
+version = "0.2.1"
11
readme = "README.md"
12
description = "write-githubstat makes it easy to collect, filter and save github statistics to csv files."
13
license = "Apache 2.0"
src/writegithubstat/githubstat.py
@@ -100,7 +100,8 @@ def measures(self) -> List[str]:
100
def process_stat(self, responses: List[Dict[str, Any]]) -> pd.DataFrame:
101
data = responses[0]
102
df = pd.DataFrame(data)
103
- df = df.drop("title", axis=1)
+ if "title" in df.columns:
104
+ df = df.drop("title", axis=1)
105
return df
106
107
0 commit comments