Skip to content

Commit

Permalink
Updated with code style
Browse files Browse the repository at this point in the history
  • Loading branch information
ccccjone committed Dec 8, 2023
1 parent 13e976a commit dc77342
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pandas/tests/io/formats/style/test_bar.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import io

import numpy as np
import pytest
import io

from pandas import (
NA,
Expand Down Expand Up @@ -346,11 +347,11 @@ def test_styler_bar_with_NA_values():


def test_style_bar_with_pyarrow_NA_values():
data = '''name,age,test1,test2,teacher
data = """name,age,test1,test2,teacher
Adam,15,95.0,80,Ashby
Bob,16,81.0,82,Ashby
Dave,16,89.0,84,Jones
Fred,15,,88,Jones'''
Fred,15,,88,Jones"""
df = read_csv(io.StringIO(data), dtype_backend="pyarrow")
expected_substring = "style type="
html_output = df.style.bar(subset="test1").to_html()
Expand Down

0 comments on commit dc77342

Please sign in to comment.