Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
software-project-WS25
Github Team
Commits
8b4a0464
Unverified
Commit
8b4a0464
authored
Oct 29, 2025
by
Noé Lopez
Browse files
Export as JSON instead of Excel
parent
b6fd9515
Changes
1
Show whitespace changes
Inline
Side-by-side
data_fetch.py
View file @
8b4a0464
...
...
@@ -38,7 +38,7 @@ if response.status_code == 200:
# Convert to DataFrame
df
=
pd
.
DataFrame
(
data
)
print
(
df
.
head
())
df
.
to_
excel
(
"C://Users//Nandhini//OneDrive//Dokumen//
github_data.
xlsx
"
)
df
.
to_
json
(
"
github_data.
json
"
)
else
:
print
(
f
"Failed to fetch issues:
{
response
.
status_code
}
"
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment