Skip to content

Instantly share code, notes, and snippets.

@LosantGists
Last active July 29, 2021 15:22
Show Gist options
  • Select an option

  • Save LosantGists/ea132acb88b1ca907ca706fcae21fb89 to your computer and use it in GitHub Desktop.

Select an option

Save LosantGists/ea132acb88b1ca907ca706fcae21fb89 to your computer and use it in GitHub Desktop.
Automating Unit Tests Blog (5) 7.23.21
import os
BATTERY_DATA_FILE = "battery-state-reports-last-30-days.csv"
df = pd.read_csv(os.path.join(os.getcwd(), BATTERY_DATA_FILE))
df.dtypes
ID object
Timestamp int64
battery int64
dtype: object
ID Timestamp battery
0 60e44605be3fc900069dcdc6 1.625573e+12 100
1 60e44605be3fc900069dcdc7 1.625573e+12 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment