pandas-plots 0.11.18__tar.gz → 0.11.19__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pandas-plots
3
- Version: 0.11.18
3
+ Version: 0.11.19
4
4
  Summary: A collection of helper for table handling and vizualization
5
5
  Home-page: https://github.com/smeisegeier/pandas-plots
6
6
  Author: smeisegeier
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = pandas-plots
3
- version = 0.11.18
3
+ version = 0.11.19
4
4
  author = smeisegeier
5
5
  author_email = dexterDSDo@googlemail.com
6
6
  description = A collection of helper for table handling and vizualization
@@ -142,6 +142,10 @@ def describe_df(
142
142
 
143
143
  # ! *** PLOTS ***
144
144
  if use_plot:
145
+ # * fix bug(?) in plotly/choreographer - datetime columns are not plotted, set these to str
146
+ datetime_cols = df.select_dtypes(include=['datetime64']).columns
147
+ df[datetime_cols] = df[datetime_cols].astype(str)
148
+
145
149
  # * reduce column names len if selected
146
150
  if top_n_chars_in_columns > 0:
147
151
  # * minumum 10 chars, or display is cluttered
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pandas-plots
3
- Version: 0.11.18
3
+ Version: 0.11.19
4
4
  Summary: A collection of helper for table handling and vizualization
5
5
  Home-page: https://github.com/smeisegeier/pandas-plots
6
6
  Author: smeisegeier
File without changes
File without changes