Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar committed Jan 20, 2022
1 parent 61a90c4 commit 8ad55f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superset/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

logger = logging.getLogger(__name__)


def _convert_big_integers(val: Any) -> Any:
"""
Cast integers larger than ``JS_MAX_INTEGER`` to strings.
Expand All @@ -45,7 +46,7 @@ def df_to_records(dframe: pd.DataFrame) -> List[Dict[str, Any]]:
"""
if not dframe.columns.is_unique:
logger.warning(
"DataFrame columns are not unique, some columns will be omitted.",
"DataFrame columns are not unique, some columns will be omitted."
)
columns = dframe.columns
return list(
Expand Down

0 comments on commit 8ad55f5

Please sign in to comment.