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

Refactor and add some new examples #15

Merged
merged 19 commits into from
May 15, 2024
Merged

Refactor and add some new examples #15

merged 19 commits into from
May 15, 2024

Conversation

austimkelly
Copy link
Owner

  • Refactor some of the examples and add placeholders for others

@austimkelly austimkelly merged commit eff1901 into main May 15, 2024
2 checks passed
if os.path.isfile(file):
df = pd.read_csv(file, on_bad_lines='skip')
if df.empty or not set(['state', 'created_at']).issubset(df.columns):
print(f"File {file} is empty or does not have necessary columns.")

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High

This expression logs
sensitive data (secret)
as clear text.
This expression logs
sensitive data (secret)
as clear text.
df['created_at'] = pd.to_datetime(df['created_at'])
return df
else:
print(f"File {file} does not exist.")

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High

This expression logs
sensitive data (secret)
as clear text.
This expression logs
sensitive data (secret)
as clear text.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant