Skip to content

Instantly share code, notes, and snippets.

View luis-c465's full-sized avatar
💀

Luis Canada luis-c465

💀
View GitHub Profile
# -*- coding: utf-8 -*-
import click
import os
import pandas as pd
def file_split(file):
s = file.split('.')
name = '.'.join(s[:-1]) # get directory name