Skip to content

Commit

Permalink
docs #4
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisfogden committed Apr 28, 2024
1 parent 7ae254c commit dd33077
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/heavylight/heavytables.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import itertools
import pandas as pd
import numpy as np
from typing import Callable, Dict, List, Union, Any

# Lookup classes
# Each key column requires an input class which maps from the source datatype to an integer
Expand Down Expand Up @@ -125,7 +126,7 @@ class Table:
"""
col_types = "int", "int_bound", "str", "band", "float"

def __init__(self, df:pd.DataFrame, rectify=False, safe=True):
def __init__(self, df:pd.DataFrame, rectify: Union[bool, None]=False, safe: Union[bool, None]=True):
"""Initialise a table from a dataframe.
parameters:
Expand Down

0 comments on commit dd33077

Please sign in to comment.