MCPcopy Create free account
hub / github.com/TEA-Lab/TwoByTwo / read_csv_remove_duplicates

Function read_csv_remove_duplicates

data_util/csv_to_ply.py:5–8  ·  view source on GitHub ↗
(input_csv)

Source from the content-addressed store, hash-verified

3
4# Function to read the CSV file and remove duplicates
5def read_csv_remove_duplicates(input_csv):
6 df = pd.read_csv(input_csv, header=None, names=["x", "y", "z"])
7 # df = df.drop_duplicates()
8 return df
9
10# Function to write the DataFrame to a PLY file
11def write_ply(df, output_ply):

Callers 1

convert_csv_to_plyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected