Skip to main content
Ctrl+K

Polpo @ GI lab

  • How-tos
  • Tutorials
  • API
  • How-tos
  • Tutorials
  • API

Section Navigation

  • polpo.preprocessing
    • BranchingPipeline
    • Constant
    • Contains
    • ContainsAll
    • DataPrinter
    • DecorateToIterable
    • EmptyRemover
    • EmptySkipper
    • Eval
    • EvalFromImport
    • ExceptionToWarning
    • Filter
    • IdentityStep
    • IfCondition
    • IfEmpty
    • IndexMap
    • IndexSelector
    • Lambda
    • ListSqueeze
    • Listify
    • Map
    • MethodApplier
    • NestingSwapper
    • NoneRemover
    • NoneSkipper
    • ParMap
    • PartiallyInitializedStep
    • Pipeline
    • Prefix
    • PreprocessingStep
    • RemoveIndex
    • SerialMap
    • Sorter
    • StepWithLogging
    • StepWrappingPreprocessingStep
    • Truncater
    • TupleWith
    • TupleWithIncoming
    • Unnest
    • WrapInList
    • polpo.preprocessing.base
    • polpo.preprocessing.dict
    • polpo.preprocessing.learning
    • polpo.preprocessing.load
    • polpo.preprocessing.mesh
    • polpo.preprocessing.mri
    • polpo.preprocessing.np
    • polpo.preprocessing.path
    • polpo.preprocessing.pd
    • polpo.preprocessing.point_cloud
    • polpo.preprocessing.ssh
    • polpo.preprocessing.str
  • API
  • polpo.preprocessing
  • polpo.preprocessing.pd
  • CsvReader

CsvReader#

class polpo.preprocessing.pd.CsvReader(path=None, delimiter=',', nrows=None)[source]#

Bases: PreprocessingStep

Read csv with pandas.

https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html

Parameters:
  • path (str) – Path.

  • delimiter (str) – csv delimiter.

  • nrows (int) – Number of rows of file to read. Useful for reading pieces of large files.

On this page
  • CsvReader

© Copyright 2024-, Geometric Intelligence Lab @ UC Santa Barbara.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.16.1.