Skip to content

Commit

Permalink
fix(linting): code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
azory-ydata committed Aug 6, 2024
1 parent 591b6b0 commit cc9b14e
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions tests/issues/test_issue1631.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,17 @@

def test_issue1631(test_output_dir):
data = {
'value': [1, 2, 3, 4],
'datetime': ['2022-10-01 00:10:00', '2022-10-02 00:20:00', '2022-10-03 00:30:00', '2022-10-04 00:40:00']
"value": [1, 2, 3, 4],
"datetime": [
"2022-10-01 00:10:00",
"2022-10-02 00:20:00",
"2022-10-03 00:30:00",
"2022-10-04 00:40:00",
],
}
df = pd.DataFrame(data)
df['datetime'] = pd.to_datetime(df['datetime'], errors='raise')
df.set_index('datetime', inplace=True)
df["datetime"] = pd.to_datetime(df["datetime"], errors="raise")
df.set_index("datetime", inplace=True)
profile = ProfileReport(df, tsmode=True)
output_file = test_output_dir / "issue1631.html"
profile.to_file(output_file)
Expand Down

0 comments on commit cc9b14e

Please sign in to comment.