Skip to main content

A Python library for splitting DataFrame columns and forward filling data.

Project description

ColumnSplitFill

ColumnSplitFill is a Python library designed for splitting DataFrame columns based on a delimiter and forward filling the data.

Features

  • Split columns based on a specified delimiter.
  • Automatically forward fill other columns in the DataFrame.

Installation

To install ColumnSplitFill, run the following command:

pip install ColumnSplitFill

Usage Example

Here's how you can use the ColumnSplitFill library to manage and process your data:

import pandas as pd
from ColumnSplitFill import process_data

# Example DataFrame
data = {
    'ID': [1, 2, 3],
    'Column1': ['A,B,C', 'D,E', 'F'],
    'Column2': ['Value1', 'Value4', 'Value7'],
    'Column3': ['Value2', 'Value5', 'Value8'],
    'Column4': ['Value3', 'Value6', 'Value9']
}
df = pd.DataFrame(data)

# Process the data
# Assuming 'process_data' is a function you've defined to split and fill the columns
processed_data = process_data(df, 'Column1', ',')

# Display the processed data
print(processed_data)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ColumnSplitFill-0.3.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ColumnSplitFill-0.3-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file ColumnSplitFill-0.3.tar.gz.

File metadata

  • Download URL: ColumnSplitFill-0.3.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.18

File hashes

Hashes for ColumnSplitFill-0.3.tar.gz
Algorithm Hash digest
SHA256 3df621ca4284bb21299a6be42a29c716a6248efcff6df826e2ac1ea55511df01
MD5 af0c439f3f0f643c7e079bc6090fe86c
BLAKE2b-256 fda4b59de192373b893dbcc4dc7ad746f831651fc7f659bb0533f47734383686

See more details on using hashes here.

File details

Details for the file ColumnSplitFill-0.3-py3-none-any.whl.

File metadata

  • Download URL: ColumnSplitFill-0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.18

File hashes

Hashes for ColumnSplitFill-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8a5049e17c3c9fbfb88d0a1538a88ef92da5c228f72c9579493b34b00d709cf4
MD5 4dc95b894ed033c477827fcef1fd3d08
BLAKE2b-256 5887425d19998b4e35c0f2f1dab9351735a28caeb0dfdda901129d0dd3415253

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page