# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3 (ipykernel)
#     language: python
#     name: python3
# ---

# + colab={"base_uri": "https://localhost:8080/"} id="Qk4Cnp0m3szW" outputId="ee7ec479-63cf-4b48-ebfa-ff147b8f93e7"
import os
import json
import shutil
import pandas as pd

# !mkdir Sales

# + colab={"base_uri": "https://localhost:8080/"} id="AK81JCOB4MRe" outputId="0b51323c-57e9-4fa3-a376-3b06bfa1fd02"
import os
import shutil

# !mkdir Sales

for i in os.listdir():
    if('.csv' in i):
        os.rename(i, 'Sales/' + i.split('_')[1] + '.csv')

# + colab={"base_uri": "https://localhost:8080/", "height": 35} id="TUxOBPY_8-Lu" outputId="b54b677b-1994-46f9-a6cb-4de73bc28bee"
shutil.make_archive('Sales','zip','Sales')

# + id="An5BqFsyJ9pC"


StarcoderdataJupyterScriptsDedupFiltered