python_code
stringlengths
0
4.04M
repo_name
stringlengths
7
58
file_path
stringlengths
5
147
#!/usr/bin/env python3 # Copyright (c) 2021-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. import numpy as np import pandas as pd from hdx.api.configuration import Configuration from hdx.data.datas...
covid19_spread-main
covid19_spread/data/usa/fb/process_mobility.py
#!/usr/bin/env python3 # Copyright (c) 2021-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. from .process_mobility import main def prepare(): main()
covid19_spread-main
covid19_spread/data/usa/fb/__init__.py
#!/usr/bin/env python3 # Copyright (c) 2021-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. from .process_testing import main def prepare(): main()
covid19_spread-main
covid19_spread/data/usa/testing/__init__.py
#!/usr/bin/env python3 # Copyright (c) 2021-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. import pandas as pd from datetime import datetime import os from covid19_spread.data.usa.process_cases imp...
covid19_spread-main
covid19_spread/data/usa/testing/process_testing.py
#!/usr/bin/env python3 # Copyright (c) 2021-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. import os import pandas as pd import sys from datetime import timedelta from delphi_epidata import Epidata...
covid19_spread-main
covid19_spread/data/usa/symptom_survey/fetch.py
#!/usr/bin/env python3 # Copyright (c) 2021-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. import pandas as pd import argparse from datetime import datetime import os from covid19_spread.data.usa.p...
covid19_spread-main
covid19_spread/data/usa/symptom_survey/process_symptom_survey.py
#!/usr/bin/env python3 # Copyright (c) 2021-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. from covid19_spread.data.usa.symptom_survey.fetch import main as fetch, SIGNALS from covid19_spread.data.us...
covid19_spread-main
covid19_spread/data/usa/symptom_survey/__init__.py