Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

silly change #14

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflowstest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Lint All The Things
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: grantmcconnaughey/[email protected]
with:
# The GitHub API token to create reviews with
token: ${{ secrets.GITHUB_TOKEN }}
# Fail if "new" violations detected or "any", default "new"
failIf: any
# Additional arguments to pass to flake8, default "." (current directory)
args: "--ignore=E121,E123 ."
6 changes: 4 additions & 2 deletions agu_oss/clean_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def open_and_clean(url):
"""

temp_df = pd.read_csv(url,
skiprows=69,
delim_whitespace=True)
skiprows = 69,
delim_whitespace = True)

all_cols = temp_df.columns[1:]

Expand All @@ -34,5 +34,7 @@ def open_and_clean(url):

# Finally create a date time column
temp_df["date"] = pd.to_datetime(temp_df[['Year', 'Month', 'Day']])

print('done')
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no change is silly @PeterMakus nice work submitting this pr! :)


return temp_df.set_index("date")